Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I open netscape navigator in Unix from perl script 1

Status
Not open for further replies.

dmazzini

Programmer
Joined
Jan 20, 2004
Messages
480
Location
US
Hi guys I would like to open Netscape Navigator in order to show an XML Document on UNIX HP Platform.

I did it in Windows using I.E.

use OLE;

sub open_ie {

$ie = CreateObject OLE "InternetExplorer.Application.1" ||
die "CreateObject: $!";
$ie->{Visible} = 1;
$ie->Navigate($xmlfilename);

}

It works in Windows platform. I am looking for the equivalent!

system(netscape $filename) doesn't work..It doesn't open the file, just netscape


Cheers!
 
Checking my threads..I have forgot to put the solution.

Open a web page:

sh /opt/Netscape/run-mozilla.sh netscape-bin
Open a file:

sh /opt/Netscape/run-mozilla.sh netscape-bin /opt/Netscape/myfile.txt

Cheers

dmazzini
GSM System and Telecomm Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top