Re: Replacement in a string with a function call.



That worked great! THanks!

Gunnar Hjalmarsson wrote:
Gunnar Hjalmarsson wrote:
Besides that, you need the /e modifier.

perldoc perlre

A more adequate pointer would be:

perldoc perlop
(the s/// operator)

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

.



Relevant Pages

  • Re: newline to <br>
    ... Papo Napolitano wrote: ... Sure, but the description in "perldoc perlre" is more complete, ... character whatsoever, even a newline, which normally it would not match." ... Gunnar Hjalmarsson ...
    (perl.beginners)
  • Re: Interpolation problem
    ... > parenthesis error) due to more interpolation that I wanted. ... > What is the correct syntax? ... Check out perldoc perlre. ... Gunnar Hjalmarsson ...
    (comp.lang.perl.misc)
  • Re: Replacement in a string with a function call.
    ... Why aren't you using strictures? ... you need the /e modifier. ... Gunnar Hjalmarsson ...
    (comp.lang.perl.misc)
  • Re: newbie help
    ... Because the first .* is greedy. ... Please read about greediness in perldoc perlre. ... Gunnar Hjalmarsson ...
    (comp.lang.perl.misc)
  • Re: inserting a line into the body of an eMail before forwarding
    ... Hmm.. ... I missed a '*' character that should better be there: ... "perldoc perlop" and review "perldoc perlre". ... Gunnar Hjalmarsson ...
    (comp.lang.perl.misc)