Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Windows - dirname(__FILE__)

by choroba (Canon)
on Apr 11, 2014 at 12:31 UTC ( #1081955=note: print w/ replies, xml ) Need Help??


in reply to Windows - dirname(__FILE__)

Are you looking for FindBin?

use FindBin; print "Script running from ", $FindBin::Bin, "\n";
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Windows - dirname(__FILE__)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2015-01-29 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (243 votes), past polls