Welcome to the Monastery | |
PerlMonks |
Re: Can't use string blah as an ARRAY refby jwkrahn (Abbot) |
on Jul 30, 2012 at 14:18 UTC ( [id://984460]=note: print w/replies, xml ) | Need Help?? |
You should also get an error message that says something like "Too many arguments for main::test ..." because you are using a prototype that says your subroutine will accept NO arguments! See also: FMTEYEWTK on Prototypes in Perl
In Section
Seekers of Perl Wisdom
|
|