[Perl-unix-users] How to get linenumber?

2002-09-23 Thread pasev
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

Re: [Perl-unix-users] How to get linenumber?

2002-09-23 Thread $Bill Luebkert
[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

Re: [Perl-unix-users] How to get linenumber?

2002-09-23 Thread brasseur johnny
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