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

Re: pp macOS external file

by learnedbyerror (Monk)
on Apr 22, 2018 at 20:33 UTC ( [id://1213385]=note: print w/replies, xml ) Need Help??


in reply to pp macOS external file

I don't have much experience with pp, so the following may be of no help because of peculiarities of pp.

The module FindBin may be of assistance. It's purpose is to locate the directory of the original perl script.

use FindBin; my $script_dir = $FindBin::Bin; or use FindBind qw($Bin); my $script_dir = $Bin

lbe

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-25 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found