Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Finding the name of the current file

by Corion (Patriarch)
on Nov 14, 2021 at 18:50 UTC ( #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 (Monk) 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? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2022-01-18 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (53 votes). Check out past polls.

    Notices?