develooper Front page | perl.perl5.porters | Postings from July 2001

Re: caller() confused by & prototype

Thread Previous | Thread Next
Jeff 'japhy/Marillion' Pinyan
July 21, 2001 04:12
Re: caller() confused by & prototype
Message ID:
On Jul 21, Michael G Schwern said:

>caller() appears to be confused by the & prototype and reports the
>line where the function call *ended* rather than where it starts.

This also happens when you send sub { ... } as an argument to a
function.  Someone has already posted a bug about it.  (He was willing to
pay the porter who fixed it!)

Jeff "japhy" Pinyan
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?
Perl Programmer at RiskMetrics Group, Inc.
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About