Hi all...

I´m using an HTML template to put the values of a database in the values of
the fields. I´ve been tying to do that by setting the field value:
$variable, to that when I call

while (<HTML>){
print;
}

the html code <input type="text" value="$variable"> shows up, when what I
want is <input type="text" value="my_variable_value">.

So I need a regexp that would look for

s/value="$(wildcard)"/value="$variable_with_same_name_as_wildcard/g

one I tried is

s/value="$(*)"/value="$main::$1"/g;

but I get an error: "/value="$(*)"/: ?+*{} follows nothing in regexp at
c:\mydir\mycode line 61"

Can anyone help me out?

Vinicius Alves
Prosites - Soluções em Internet
Webmaster

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to