Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 avoiding work at the Monastery: (10)
As of 2015-07-03 10:42 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 (51 votes), past polls