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

For vs. While

by Andrew_Levenson (Hermit)
on Dec 05, 2006 at 23:51 UTC ( [id://588005]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    V(qw/74 401 211 79/);
    sub V{while(@_){
    ...
                chr(shift):
                    chr(reverse(pop))}$_)
            ,$V+=$#_%2!=1?1:0}}
    
  2. or download this
    
    
    
    V(qw/74 401 211 79/);sub V{while(@_){$v**=$V?$#_:$V;
    print(map{$V<$v?chr(shift):chr(reverse(pop))}$_),$V+=$#_%2!=1?1:0}}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://588005]
Approved by Joost
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found