Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: Question regarding variable scope

by MarkM (Curate)
on Oct 17, 2003 at 05:36 UTC ( #299941=note: print w/ replies, xml ) Need Help??

in reply to Re: Question regarding variable scope
in thread Question regarding variable scope

Better yet, avoid the use of prototypes altogether in Perl. They are broken when it comes to actual programmer expectations. $ means "force scalar context" not "expect a scalar". Note that find_pairing(@list) does not generate a compile time error, but will generate perhaps-unexpected runtime behaviour.

Comment on Re: Re: Question regarding variable scope

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-10-08 18:29 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (222 votes), past polls