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

Re: caller() confused by & prototype

Thread Previous | Thread Next
From:
Jeff 'japhy/Marillion' Pinyan
Date:
July 21, 2001 04:12
Subject:
Re: caller() confused by & prototype
Message ID:
Pine.GSO.4.21.0107210711500.7854-100000@crusoe.crusoe.net
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      japhy@pobox.com      http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About