[Pdx-pm] What am I doing wrong?
Andy Lester
andy at petdance.com
Thu Dec 1 10:45:14 PST 2011
On Nov 30, 2011, at 11:14 AM, Art Burke wrote:
> $v1 = 6;
> $v2 = 7;
> print (($v1*$v2), "\n");
>
You need to say my $v1 and my $v2.
The $a and $b version works because $a and $b are magic global variables that you are reusing.
xoxo,
Andy
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/pdx-pm-list/attachments/20111201/4f4aafef/attachment.html>
More information about the Pdx-pm-list
mailing list