Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Pearls (not really) of Perl programming

by ikegami (Pope)
on Nov 25, 2004 at 17:56 UTC ( #410435=note: print w/replies, xml ) Need Help??


in reply to Re: Pearls (not really) of Perl programming
in thread Pearls (not really) of Perl programming

Have another look. This thead is discussing bad code. (I was confused a little a first too.) reverse $str not doing anything is exactly the point.

Replies are listed 'Best First'.
Re^3: Pearls (not really) of Perl programming
by Juerd (Abbot) on Nov 25, 2004 at 20:44 UTC

    This thead is discussing bad code.

    That I gathered. I was wondering where this example came from. I find it hard to believe it was encountered in the wild. Conceived examples work, but they aren't as good, IMO.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Re^3: Pearls (not really) of Perl programming
by kscaldef (Pilgrim) on Nov 25, 2004 at 21:05 UTC
    Perhaps, although even if it did work, it would be a lot less clear than a substr, IMO.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410435]
help
Chatterbox?
[Lady_Aleena]: I was thinking about moving WorldBuilding to Random, since it is all randomness in that group anyway, but Random::World is the same length as WorldBuilding. I wouldn't be doing myself any favors.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-05-25 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?