Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[Corion]: Hi marto!
[Corion]: I just found out that in $current_top_prior ity_project , the part I am in is not even in the top three worries. That's somewhat bad, not because I'm happy with being a top worry but because that means that I don't even know how bad the rest ...
[Corion]: ... of the situation is :-)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-07-26 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (385 votes). Check out past polls.