Think about Loose Coupling | |
PerlMonks |
Re: how to express $temp =~ s/.*?from://; in perl 4by splinky (Hermit) |
on Jul 30, 2000 at 18:45 UTC ( [id://25159]=note: print w/replies, xml ) | Need Help?? |
Since you're looking for a constant string, you
can use substr and index in place of the regex, like so:
Note that, since I don't have Perl 4 installed anywhere, the code above is untested under Perl 4.
In Section
Seekers of Perl Wisdom
|
|