in reply to Storing Substitution Output String
So you better use $1 as thats the match you where looking for then a string that you unneccesarily altered, so use a match
instead. And you might consider not to use dotStar, see Ovid's Death to Dot Star!:-)$page2 =~ m|<title>(.*)</title>|gi; print $1;
Have a nice day
All decision is left to your taste
Update
so alike this?print '<li>'.$1.'</li>';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Storing Substitution Output String
by bob (Novice) on Jul 14, 2002 at 18:53 UTC | |
Re: Re: Storing Substitution Output String
by bob (Novice) on Jul 14, 2002 at 19:08 UTC | |
by bob (Novice) on Jul 14, 2002 at 19:51 UTC | |
by little (Curate) on Jul 14, 2002 at 20:08 UTC | |
by bob (Novice) on Jul 15, 2002 at 21:55 UTC | |
by bob (Novice) on Jul 15, 2002 at 22:02 UTC |
In Section
Seekers of Perl Wisdom