in reply to Multiple variables & values in one line
my %identity = qw/name billy state colorado age 21/; print $identity{name} , "\n", $identity{state}, "\n", $identity{age} , "\n";
If your interest in Perl lasts more than another hour or two, you would really be doing yourself a favor by picking up Learning Perl (the Llama book), published by O'Reilly & Assoc. It's a fantastic resource that will introduce you to Perl's rich syntax, while teaching how to think "the Perlish way".
perlintro might also really be helpful to you at first, and the best part is it's free. ;)
Good luck. Asking questions here in the monastery can be a helpful supplement as you study the other resources.
Dave
|
|---|