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 ( [id://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, [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://497594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-18 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found