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

Spaced Out

by MeowChow (Vicar)
on Feb 22, 2001 at 21:46 UTC ( [id://60270]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $str = 'a b c o o p s h u h ? ';
    print $& while $str =~ /.\s/g;
    
  2. or download this
    use HTML::Entities;
    my $html = 'whoa dude whats going on with this line';
    ...
      ## prints: whoa dude whats going on with this line
    print $& while $text =~ /\w+\s+/g;
      ## prints: whoa dude whats with this
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-20 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found