Angel has asked for the wisdom of the Perl Monks concerning the following question:
so I tried this:my $error_html = "<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"red\" +>error<\/font>";
And I get this:my $error_string = $error_html; $error_string =~ s/error/$user->get_error_string/; $template->param( user_name_error_string => $error_string );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Substituting method from object
by Zaxo (Archbishop) on Dec 03, 2002 at 01:25 UTC | |
|
Re: Substituting method from object
by pg (Canon) on Dec 03, 2002 at 03:21 UTC | |
|
Re: Substituting method from object
by elusion (Curate) on Dec 03, 2002 at 01:27 UTC | |
|
Re: Substituting method from object
by mce (Curate) on Dec 03, 2002 at 12:07 UTC |