Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: How to determine absolute path of current Perl file?

by Discipulus (Canon)
on Feb 29, 2016 at 22:51 UTC ( [id://1156489]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #TestBegin.pm
    use strict;
    ...
    BEGIN in the program -e
    in the program -e
    
  2. or download this
    
    perl  -e "print qq(in the program $0\n);BEGIN{print qq(BEGIN in the pr
    +ogram\n)}use TestBegin;"
    ...
    in the module TestBegin.pm
    in the program -e
    

Log In?
Username:
Password:

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

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

    No recent polls found