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

Re: BEGIN block and failure to initialize constants

by temporal (Pilgrim)
on Sep 18, 2012 at 14:26 UTC ( #994293=note: print w/ replies, xml ) Need Help??


in reply to BEGIN block and failure to initialize constants

Thanks for the replies. I like tobyink's solution for figuring out the path within the module - nice and clean. Unfortunately the Perl on my production machines is too elderly to support the /r substitution option. Looks like that came about in v5.14 and since I'm still being coerced into living with v5.10 I'll have to just leave a lovelorn comment showing how it could be prettier.

And Grandfather gives a great way to figure it out from the running script's perspective. Also handy!

As always, much appreciated =)

Strange things are afoot at the Circle-K.


Comment on Re: BEGIN block and failure to initialize constants

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-12-29 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (186 votes), past polls