A perl question
    jim.mcginness at att.net 
    jim.mcginness at att.net
       
    Tue Apr 20 11:53:00 EDT 2004
    
    
  
Brian wrote:
 
> Every s/ operation I come up with always ends up replacing ::tag with
> the literal "$tag".
Perl's DWIM features usually pick up a single variable in the replacement part 
and do the right thing, but you can add a 'e' modifier to the end of the substitution
to cause perl to interpret the replacement part as an expression. You can even add 
additional 'e' modifiers to cause additional levels of evaluation, but I've never seen
this usefully done for more than two levels.
    
    
More information about the gnhlug-discuss
mailing list