Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: 2 basic questions

by Random_Walk (Parson)
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!


Comment on Re: 2 basic questions
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-09-20 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls