Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Can't use string blah as an ARRAY ref

by jwkrahn (Monsignor)
on Jul 30, 2012 at 14:18 UTC ( #984460=note: print w/ replies, xml ) Need Help??


in reply to Can't use string blah as an ARRAY ref

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


Comment on Re: Can't use string blah as an ARRAY ref

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984460]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-28 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls