in reply to Re: 'my' buggy...
in thread 'my' buggy...

What is the correct way to access a lexical variable in a simple substitution then?...

Replies are listed 'Best First'.
Re: Re: Re: 'my' buggy...
by japhy (Canon) on Apr 30, 2002 at 16:16 UTC
    From the Perl FAQ, $text =~ s/(\$\w+)/$1/eeg;

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a (from-home) job
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

      Ow damn... never read that. Thanks :*)
      Crap... must have read over that. Or is it a new addition?

      Thanks anyway :*)