[EMAIL PROTECTED] wrote:
> Hello all!
> 
> Is there any way to do a function that outputs the linenumber of the 
> function.

perldata man page:

     The special literals __FILE__, __LINE__, and __PACKAGE__ represent the
     current filename, line number, and package name at that point in your
     program. They may be used only as separate tokens; they will not be
     interpolated into strings. If there is no current package (due to an empty
     "package;" directive), __PACKAGE__ is the undefined value.

-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=162126130
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to