Jeremy Blonde wrote:
> I'm trying to use an XML file to hold the properties
> of the windows in my Perl script.  (No major reason
> for this, I just throught it would be a cool way to
> learn how to use XML with Perl)
>
> [...]
>
> $WindowHandle = new GUI::DialogBox (
>   -name    => $Hash{name},
>   -title   => $Hash{title},
>   -style   => $Hash{style}, # No style is applied
>   -style   => WS_CAPTION | WS_SYSMENU, # Works fine

try this:

    -style   => eval( $Hash{style} ),

cheers,
Aldo

__END__
$_='just perl',s, , another ,,s,$, hacker,,print;




Reply via email to