Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Repurposing reverse

by ikegami (Pope)
on Jan 31, 2011 at 09:01 UTC ( #885216=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $water_samples = join '', map chr, 113, 101, 769;
    my $last_sample = substr($water_samples, -1, 1);
    print(ord($last_sample), "\n");
    
  2. or download this
    my $water_samples = join '', map chr, 113, 101, 769;
    $water_samples = reverse($water_samples);
    my $last_sample = substr($water_samples, 0, 1);
    print(ord($last_sample), "\n");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://885216]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-10-18 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (242 votes). Check out past polls.

    Notices?