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

Re: Get the name of the calling script in a module function

by polypompholyx (Chaplain)
on Oct 05, 2005 at 13:50 UTC ( #497594=note: print w/replies, xml ) Need Help??


in reply to Get the name of the calling script in a module function

Or maybe $0?

Replies are listed 'Best First'.
Re^2: Get the name of the calling script in a module function
by SkipHuffman (Monk) on Oct 05, 2005 at 13:56 UTC

    Yeah, that is what I needed. I don't claim to be a paticularly good programmer. I knew there was something like that but I just could not find it. Thanks,

    Skip
      Not knowing the names of Perl's cryptic $punctuation variables does not a bad programmer make. Better to know how and where to look on the (many) occassions you find you don't know something. perldoc, Super Search, Google are usually good bets.

        Thanks for your kindness. I did search first, it was just a matter of not knowing what to search for.

        Do you know of a cheatsheet of all the those cryptic variables?

        Skip

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2016-08-31 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (426 votes). Check out past polls.