Category Archives: Perl

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 | Tagged , , , , , , , , , , , | Leave a comment

Console input and output in Perl

These snippets demonstrate console input and output in Perl. The first snippet simply asks for input and outputs it back to you and the second snippet interprets commands and displays the results.

Posted in Perl | Tagged , , , , , , , | Leave a comment

First post!

wohoo! :-)

Also posted in Assembler, Bash, C, C#, C++, F#, Haskell, Java, JavaScript, Objective-C, PHP, Python, Ruby, Uncategorized | Leave a comment