2008/9/8 Adams Paul <[EMAIL PROTECTED]>:
>
> I am trying to open Internet explorer from within Perl.I have used the 
> following code:
>
>
>
> #!/usr/bin/perl;open(MYFILE,"C:\Program Files\Internet Explorer.exe");

If you call an external program in Perl, shouldn't use "open".
Instead you could say "system (external_program)" if this is under Unix.

For your purpose, if you just want to open the web pages, you could
have many choices rather than trying to open an IE. see these modules:

WWW::Mechanize
LWP::UserAgent
etc.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to