Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Make Love, not war...

by Sifmole (Chaplain)
on Sep 24, 2001 at 16:51 UTC ( [id://114363]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Make Love, not war...
in thread Make Love, not war...

Perhaps the choice of using the code the programmer did is based on the aesthetic layout?

While you are at it? Why bother reassigning the result of chr to $_? Just drop that line alltogether to get  for(@h1){ print chr; } and of course if your decision is to be based on the number of characters you can go to print chr for(@h1); but getting the smallest WTDI is golf and not obfuscation.

Replies are listed 'Best First'.
I was trying to follow a structure similar to the original script...
by thunders (Priest) on Sep 25, 2001 at 13:27 UTC
    I'd personally use:
    print map chr, @h1;
    But to each their own. I was just offering some advice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://114363]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.