Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Finding the name of the current file

by Corion (Patriarch)
on Nov 14, 2021 at 18:50 UTC ( [id://11138813]=note: print w/replies, xml ) Need Help??


in reply to Finding the name of the current file

The current input file name (if any) lives in $ARGV.

Replies are listed 'Best First'.
Re^2: Finding the name of the current file
by mldvx4 (Friar) on Nov 14, 2021 at 19:44 UTC

    Thanks. That was it. I had tried about everything except that specific way, including re-reading perlvar(1) many times.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found