Hello all!
Is there any way to do a function that outputs the linenumber of the function.
Pase
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[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
Le Lundi 23 Septembre 2002 13:00, [EMAIL PROTECTED] a écrit :
> Hello all!
>
> Is there any way to do a function that outputs the linenumber of the
> function.
You may have also $. which gives the current line number of the current file
opened.
May be it can help (see perldoc perlvar)
You might