Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Windows - dirname(__FILE__)

by choroba (Bishop)
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";
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081955]
[marto]: yeah, this is at work, where some intranet app launches links via When users close the intranet page so that only the new JS opened windows exist, clicking URLs in an email (or whatever) don't open
[Corion]: marto: It somewhat makes sense that the reduced popup window doesn't get new URLs, but it makes less sense that no new browser window opens :)
[marto]: Corion, yeah, why no new browser window opens is currently beyond my understanding
[marto]: thanks

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-03-21 11:49 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.