|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Can't use string blah as an ARRAY refby jwkrahn (Prior) |
| on Jul 30, 2012 at 14:18 UTC ( #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
|
|
||||||||||||||||||||