Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 examining the Monastery: (10)
As of 2016-07-27 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (245 votes). Check out past polls.