Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

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


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 17: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
Node Status?
node history
Node Type: note [id://114363]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2019-11-14 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (80 votes). Check out past polls.

    Notices?