Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Extract sequence of UC words?

by logie17 (Friar)
on Aug 18, 2008 at 16:38 UTC ( #704981=note: print w/replies, xml ) Need Help??


in reply to Extract sequence of UC words?

I think you're close but you'll probably have better luck using /g modifier in list context. The following gets the results for me:
my @uc_string = ($data =~ /(\b[A-Z]+\b)/g);
Thanks,
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2022-08-10 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?