Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 meditating upon the Monastery: (7)
As of 2014-10-25 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls