Steve Bertrand wrote: > my $month = $ARGV[0] if $ARGV[0]; $ cat myscript.pl #!/usr/bin/perl
use strict; use warnings; my $month = $ARGV[0] if $ARGV[0]; print "$month\n"; $ ./myscript.pl Use of uninitialized value $month in concatenation (.) or string at ./myscript.pl line 7. Try: my $month = ''; $month = $ARGV[0] if $ARGV[0]; -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/