RE: Line number of whence called

2002-04-23 Thread Timothy Johnson
] Sent: Tuesday, April 23, 2002 10:29 AM To: 'Jonathan E. Paton' Cc: Beginners (E-mail) Subject: RE: Line number of whence called I am atheist so I don't believe in the Religion Module. 8^P PS you're right... should have used Carp. > -Original Message- > From: J

RE: Line number of whence called

2002-04-23 Thread Nikola Janceski
I am atheist so I don't believe in the Religion Module. 8^P PS you're right... should have used Carp. > -Original Message- > From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:24 PM > To: [EMAIL PROTECTED] > Subject: Re: Lin

Re: Line number of whence called

2002-04-23 Thread Jonathan E. Paton
> Is there someway to get the line number of > whence a subroutine was called? Yes, but 9/10 ten people use Carp.pm, the other 1 respondant was an assembly language programmer. perldoc Carp Carp is implemented using 'caller', which you can find documentation about at: perldoc -f caller If you