[Pdx-pm] What am I doing wrong?

Michael G Schwern schwern at pobox.com
Thu Dec 1 11:57:05 PST 2011


On 2011.11.30 9:14 AM, Art Burke wrote:
> The script below fails with a message that “Global symbol “$v1” requires
> explicit package name …”. Could someone tell me what I am doing wrong?

In addition to what others have said, the perlintro tutorial discusses why you
need to declare variables.
http://perldoc.perl.org/perlintro.html


-- 
You are wicked and wrong to have broken inside and peeked at the
implementation and then relied upon it.
	-- tchrist in <31832.969261130 at chthon>


More information about the Pdx-pm-list mailing list