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

Re: FindBin is broken (RE: How do I get the full path to the script executing?)

by ruoso (Curate)
on Jan 13, 2012 at 17:39 UTC ( #947780=note: print w/replies, xml ) Need Help??


in reply to FindBin is broken (RE: How do I get the full path to the script executing?)
in thread files

You should be glad to know that this bug was finally fixed in blead: http://perl5.git.perl.org/perl.git/commit/ce6c0f31778913bcbf7ccd245ab390dddd8a1361

daniel
  • Comment on Re: FindBin is broken (RE: How do I get the full path to the script executing?)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947780]
help
Chatterbox?
[james28909]: now if i have packed a script into a PDK exe, and misplaced the source, i can print it.
[james28909]: but you have to prepare for it first by adding this to the source
[james28909]: seek DATA, 0, 0; while (<DATA>) { print; }
[Lady_Aleena]: Sounds interesting. Have you written a meditation or cool use for it?
[Lady_Aleena]: It might be something PerlMonks at large would be interested in.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2017-05-01 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (543 votes). Check out past polls.