in reply to Re: Determine if sub is called from control block.
in thread Determine if sub is called from control block.

You can do so even without using DATA, which only seems to work for a single file or the like... just use an open on the Filename caller gave you, jump into the right line caller gave you and scan around a bit :-)

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

  • Comment on Re: Re: Determine if sub is called from control block.

Replies are listed 'Best First'.
Re: Re: Re: Determine if sub is called from control block.
by shotgunefx (Parson) on Mar 02, 2002 at 21:24 UTC
    Interesting idea. Thanks!

    -Lee

    "To be civilized is to deny one's nature."