Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Extract sequence of UC words?

by logie17 (Friar)
on Aug 18, 2008 at 16:38 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-19 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found