Tag Archives: cli

Command-line arguments in Perl

Command-line arguments are very useful when you, for example, want to pass arguments to background processes. This example demonstrates a process which monitors a website and sends alerts if the website is unreachable. Perl uses the $ARGV variable for storing command-line arguments.

Posted in Perl | Also tagged , , , , , , , , , , | Leave a comment