Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Algorithm for "Incrementing" strings

by Not_a_Number (Prior)
on Feb 11, 2015 at 19:22 UTC ( [id://1116376]=note: print w/replies, xml ) Need Help??


in reply to Algorithm for "Incrementing" strings

sub incr { my $str = shift; ++$str; $str =~ y/AEIOU/BFJPV/; return $str; }

Replies are listed 'Best First'.
Re^2: Algorithm for "Incrementing" strings
by ibm1620 (Hermit) on Feb 11, 2015 at 19:27 UTC
    Now THAT'S pretty slick...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-25 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found