calling browser from perl command line program under windows xp

G

Graham Smith

I am trying to call IE5 from a perl program running from command
prompt in windows XP using a http address:

system("start http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=14955&item=5708600959");

The browser is called ok but the parameters (category and item) are
not passed correctly! The address that it calls is:

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem

and the web page called complains understandably about invalid item!
I have searched and experimented for couple of hours can anyone help
please?
 
C

ChrisO

Graham said:
I am trying to call IE5 from a perl program running from command
prompt in windows XP using a http address:

system("start http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=14955&item=5708600959");

The browser is called ok but the parameters (category and item) are
not passed correctly! The address that it calls is:

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem

and the web page called complains understandably about invalid item!
I have searched and experimented for couple of hours can anyone help
please?

system(qq{start
"http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=14955&item=5708600959"});

should also work in addition to the escape ^ you were already given.

-ceo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top