Charles Pelkey wrote:
>     $_ =~ s/{(.*?)}/${$1}/g; # Find variables in the form of 
> {var_name} and replace with $var_name

Eek -- symbolic references.

> Does anyone have an idea of how to fix this???

Use a hash :)

    s/\{([^}]*)\}/$var{$1}/g;

Should replace {Full_Name} with $var{'Full_Name'}.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to