Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Not able to execute perl sub routine

by Laurent_R (Canon)
on Dec 03, 2016 at 10:24 UTC ( [id://1177124]=note: print w/replies, xml ) Need Help??


in reply to Not able to execute perl sub routine

Assuming that Athanasius's comment will solve your issue, I would just further comment that you should probably consider using one or two array(s) of directories rather than having all these $dir1, $dir2, ..., $dirs, $dirt, etc. variables.

And of course, I agree that you should most probably avoid the function call with a leading ampersand.

  • Comment on Re: Not able to execute perl sub routine

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-25 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found