Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: return $paths only if ...

by aitap (Deacon)
on Aug 20, 2012 at 15:18 UTC ( #988464=note: print w/ replies, xml ) Need Help??


in reply to return $paths only if ...

Try checking for elements inside the array, not for definedness. For example, if ($#{$paths} > -1) { ... }.

Sorry if my advice was wrong.


Comment on Re: return $paths only if ...
Download Code
Re^2: return $paths only if ...
by chromatic (Archbishop) on Aug 20, 2012 at 16:33 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-19 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls