Re: getting file name/line num info

2005-04-26 Thread Manish Sapariya
Thanks, I did not realize that (caller) is a function call and [1,2] was a slicing operation. Thanks for the info. Regards, Manish On 04/25/2005 08:49 PM, Jay Savage wrote: On 4/25/05, Manish Sapariya <[EMAIL PROTECTED]> wrote: Hello, Can somebody explain me the magic here sub vprint (@) {

Re: getting file name/line num info

2005-04-25 Thread Jay Savage
On 4/25/05, Manish Sapariya <[EMAIL PROTECTED]> wrote: > Hello, > Can somebody explain me the magic here > sub vprint (@) { # subroutine declaration with prototype return unless $Utils::verbose; # exit sub unless $Utils::verbose flag is set my ($file, $line)