Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994293]
[choroba]: fortunately, I haven't the need to verify this
[choroba]: haven't had
[choroba]: but most tourist here are form the US, France, and Russia
[Your Mother]: The best whiskey in Thailand is Vietnamese, is all I know.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-02-26 05:01 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.