Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Is there a Limit on Matching .*

by svsingh (Priest)
on Jul 14, 2003 at 23:53 UTC ( #274230=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
          $/ = '</h1>';
          my $chunk = <HTMFILE>;
          $chunk =~ m%<title>(.+)</title>.*<h1>(.+)</h1>%i;
    
  2. or download this
          $/ = '</h1>';
          my $chunk = <HTMFILE>;
    ...
          my $title = $1;
          $chunk =~ m%<h1>(.+)</h1>%i;
          my $heading = $1;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-12-28 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls