Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: 2 basic questions

by Random_Walk (Prior)
on Apr 29, 2013 at 14:58 UTC ( #1031227=note: print w/replies, xml ) Need Help??


in reply to 2 basic questions

Just playing, may not work in your character set:

perl -le "while(1){$a=$a?$a:ord'a';print chr$a;$a=++$a%ord'{';sleep 1} +"

This probably will though

perl -le "$_='x';while(1){s/aa/a/;print$_++;sleep 1}"

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031227]
help
Chatterbox?
[karlgoethebier]: good morning

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-07-21 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.