Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2016-02-12 18:29 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (410 votes), past polls