in reply to Re: Re: String parameter parsing
in thread String parameter parsing
Alternatively, the whole thing could be rewritten as a single substitution, with the /e modifier so the replacement will be eval'ed:
$content =~ s/<\?Function\(([^\)]*)\)\?>/ my $params = $1; my @params = $params =~ m,"([^"]*)",g; some_param_stuff(@params); /ge;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: String parameter parsing
by Beatnik (Parson) on Jan 19, 2001 at 14:34 UTC |