Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: quest for perl mnemonics

by belg4mit (Prior)
on Jan 25, 2002 at 05:54 UTC ( [id://141404]=note: print w/replies, xml ) Need Help??


in reply to quest for perl mnemonics

I came up with this in the CB a bit ago, and I shall now never forget. For sorting
cmp is letters for letters

Corollary

spaceship is math (<, =, >) for numbers)

--
perl -pe "s/\b;([st])/'\1/mg"

Log In?
Username:
Password:

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

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

    No recent polls found