Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: return if 0

by TGI (Parson)
on Jun 24, 2009 at 19:02 UTC ( #774485=note: print w/ replies, xml ) Need Help??


in reply to return if 0

My response is not really related to the question, but to the sample code.

In fact my response is nearly identical to this one I posted a while ago: Re: Delete files with Perl in Windows

In short: don't use &foo to call a subroutine, unless you really mean it. See the linked node for more info.

BTW, keep experimenting and asking questions. It's a great way to learn.


TGI says moo

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-06-30 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (389 votes). Check out past polls.