On Mon, 6 Dec 2004, Chris Devers wrote:

> On Mon, 6 Dec 2004, Bryan R Harris wrote:
> 
> > > Can you do this:
> > > 
> > > $var =~ s/\{([^}]*)\}/$v = $1; $v =~ s!,!|!g; qq!($v)!/ge;
> > 
> > Holy cow, is that legal??!!  It took me at least 30 seconds just to 
> > figure out that those commands were inside the s/// command.
> 
> See the 'e' at the end of the s/// block?

$previous_message =~ s/block/statement/;

 

-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to