in reply to Literal Tokens

They are very useful in debugging programs as they will tell you the current file that is being interpreted (eg the perl file), and what line number you are currently at. If you have a custom die message for a module, you can mention "died at line " . __LINE__ . " in " . __FILE__ in order to convey as much info to the programmer.
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain

Replies are listed 'Best First'.
Re: Re: Literal Tokens
by princepawn (Parson) on Mar 15, 2001 at 03:09 UTC
    you can also get all this information and more from caller()...
Re: Re: Literal Tokens
by Theodorus (Initiate) on Mar 15, 2001 at 01:28 UTC
    Thank you for your diagnosis, Doctor!