Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-12-16 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (458 votes). Check out past polls.

    Notices?