2008/9/22 Stephen Reese <[EMAIL PROTECTED]>: >> John is right. >> You should always 'use strict' at the begin of the scripts. >> Here you didn't declare the variables, so you got the errors. >> You could declare them with: >> my $x = ...; >> my $foo = ...; >> >> For Perl's variable scope, see this: >> http://perl.plover.com/FAQs/Namespaces.html >> > > Jeff, are they not defined here: > > $x=$6;
The problem is that you didn't declare them. modify it to: my $x = $6; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/