> sorry, but where did you got this syntax?

>From the documentation in FileOp module.

erick
never stop questioning
www.jeb.ca
----- Original Message -----
From: Aldo Calpini <[EMAIL PROTECTED]>
To: Erick J. Bourgeois
<perl-win32-gui-users@lists.sourceforge.net>
Sent: Monday, February 12, 2001 10:47 AM
Subject: Re: [perl-win32-gui-users] SaveAsDialog


> Erick J. Bourgeois wrote:
> > Has anyone had success using the SaveAsDialog?
> >
> > I'm using the SaveAsDialog in the following way:
> >
> >              my %param = (title => "SaveAs",
> > filters=>{'Filter 1' => '*.txt;*.doc', 'Filter 2'
> > =>'*.pl;*.pm'});
> >              my $file = SaveAsDialog %param, "foo.txt";
>
> sorry, but where did you got this syntax?
>
> try this:
>
>     my $file = Win32::GUI::GetSaveFileName(
>         -title => "SaveAs",
>         -filter => [
>             "Filter 1" => "*.txt;*.doc",
>             "Filter 2" => "*.pl;*.pm",
>         ],
>         -file => "foo.txt",
>     );
>
>
> cheers,
> Aldo
>
> __END__
> $_=q,just perl,,s, , another ,,s,$, hacker,,print;
>
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-u
sers
>


Reply via email to