in reply to Re: ref 'n typeglob
in thread ref 'n typeglob

I knew there was something twisted in my mind ... *sigh*
--
Jaap Karssenberg || Pardus (Larus)? <pardus@cpan.org>
>>>> Zoidberg: So many memories, so many strange fluids gushing out of patients' bodies.... <<<<

Replies are listed 'Best First'.
Re3: ref 'n typeglob
by bbfu (Curate) on Apr 01, 2003 at 20:12 UTC

    Just as a light warning... diotalevi's method works fine but be aware that if you ever call my_sub("literal") (or similar), you will end up with a fatal error of Modification of a read-only value attempted at ... (with the file and line number being in your package at the tie; you may want to trap that error and carp it out to the caller).

    bbfu
    Black flowers blossom
    Fearless on my breath