Hi there
I've been re-working some code from another developer and I came across a
line that has me stumped. I can't find an explanation in Programming Perl,
but it's probably because I don't know what to look for.

The line is:

*random_subroutine_name = sub ( ) { 1 };

Is there a name for this kind of operation?

What I think is that this is dynamically re-defining an existing subroutine
to just return true value. Is that a totally stupid guess? 

Any help would be wonderful!
Thanks

Mike Kavanagh




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to