Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Repurposing reverse

by ikegami (Patriarch)
on Jan 31, 2011 at 09:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://885216]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-18 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found