Do you know where your variables are? | |
PerlMonks |
Re: Variable Scoping in Perl: the basicsby aristotle73 (Sexton) |
on Dec 20, 2004 at 19:09 UTC ( [id://416283]=note: print w/replies, xml ) | Need Help?? |
print "$Robert has canned $name's sorry butt\n";
I tried running this in PERL and it yelled at me saying that it didn't like $name::s. I changed this line of code to:
print "$Robert has canned $name sorry butt\n";
And it worked fine 0_o An error in the tutorial perhaps?
In Section
Tutorials
|
|