Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: $0 in perl pod, not expanding to script name

by hippo (Bishop)
on Jul 16, 2018 at 08:27 UTC ( [id://1218541]=note: print w/replies, xml ) Need Help??


in reply to Re^2: $0 in perl pod, not expanding to script name
in thread $0 in perl pod, not expanding to script name

In that case, just post-process it:

=pod Usage: C<$0> =cut $arg = shift(); if (defined($arg) && $arg eq '-h') { for (`pod2text $0`) { s/\$0/$0/; print; } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218541]
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