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

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

Replies are listed 'Best First'.
Re^3: Get the name of the calling script in a module function
by chester (Hermit) on Oct 05, 2005 at 14:16 UTC
    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
        perldoc perl will show you a table of contents for all of perldoc. (See here: perl) perlvar has the variable names for example. perlfunc has all the functions. You can view a specific function if you already know its name by perldoc -f functionname. etc. etc. perldoc itself is a bit cryptic at first, but it's not too hard to figure out.