On 10-12-30 09:57 PM, Parag Kalra wrote:
I have already tried that.

Specially - caller(3) but it returns the details of the caller i.e
from where it was called and no particular details of where it is in.


Have you tried caller(0)?

sub foo_bar {
  my @caller = caller(0);
  print "@caller\n";
}


--
Just my 0.00000002 million dollars worth,
  Shawn

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to