Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: return if 0

by TGI (Vicar)
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


Comment on Re: return if 0
Download Code

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 chilling in the Monastery: (8)
As of 2015-07-07 10:56 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 (88 votes), past polls