Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Funniest Variable/Subroutine names

by pdcawley (Hermit)
on Apr 05, 2002 at 20:53 UTC ( #157054=note: print w/ replies, xml ) Need Help??


in reply to Funniest Variable/Subroutine names

In the as yet unreleased Acme's::Abbreviations you will find such delights as

@ISA = 'Bloody Silly Thing To Do'; sub can't {...} sub won't {...} ... sub mustn't { my $target = shift; my $method = shift; no strict 'refs'; my $old_glob = \ $ {"${target}::"}{$method}; delete $ {"${target}::"}{$method}; *{"$target\::$method"} = *{$old_glob}{$_} for (qw/ SCALAR HASH ARRAY IO /); 1; }
well, you know, it seemed like a silly thing to do at the time.


Comment on Re: Funniest Variable/Subroutine names
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://157054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-08-31 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls