Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: print only uppercase sentences

by polypompholyx (Chaplain)
on Aug 04, 2013 at 15:43 UTC ( #1047804=note: print w/replies, xml ) Need Help??


in reply to Re^2: print only uppercase sentences
in thread print only uppercase sentences

Unfortunately,

print if /O/;

will also 'work' on your sample data, and for the same reason. zork42's post is probably the answer to your short-term problem; but rjt's links, and thinking carefully about why Laurent_R's post is almost certainly *not* what you're after would probably be a lot more useful to you in the long-term.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047804]
help
Chatterbox?
[1nickt]: Config works properly, thank you. I has first followed an example from the doc using eval. THis is much nicer.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-10-18 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (249 votes). Check out past polls.

    Notices?