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

Re2: [perlrun/perlre] one-liner to match "readable" lines

by blakem (Monsignor)
on Oct 08, 2002 at 02:08 UTC ( #203548=note: print w/replies, xml ) Need Help??


in reply to Re: [perlrun/perlre] one-liner to match "readable" lines
in thread [perlrun/perlre] one-liner to match "readable" lines

As long as you're golfing, how about:
perl -pe'$_ x=/^[A-Z]/i'
Update: trimmed a couple more chars...

-Blake

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2019-08-21 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?