Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My best attempt is<!-- SCRIPT TEMPLATE BREAKS HERE -->
use LWP::Simple; my $content = get("http://www.url.com/scripttemplate.shtml"); my $breakline = "<!-- SCRIPT TEMPLATE BREAKS HERE -->"; while ($content) { $content =~ /(.*)$breakline(.*)/); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple regex
by brian_d_foy (Abbot) on Jan 18, 2005 at 04:56 UTC | |
|
Re: Simple regex
by larryp (Deacon) on Jan 18, 2005 at 03:14 UTC | |
by ysth (Canon) on Jan 18, 2005 at 04:22 UTC |