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

RE: Give me XP, or give me food!

by Fastolfe (Vicar)
on Sep 08, 2000 at 18:07 UTC ( #31588=note: print w/replies, xml ) Need Help??


in reply to Give me XP, or give me food!

Parsed with a 2-line regexp? I'll do better:
print chr(20*$2+$3)x($1+1).($4==1?"\n":"") while /\D*?([-\d]+)\D+?([-\ +d]+)\D+?([-\d]+)\D+?([-\d]+)/g;
Operating on your push() lines in $_ only. Give me some sugar, baby.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2020-10-22 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (227 votes). Check out past polls.

    Notices?