Results 1 to 7 of 7
Please suggest how can I use following statement in perl
wget "http://webserver/test.cgi?year=2007&data=test&date=2008-03-04"...
- 03-04-2008 #1Linux Newbie
- Join Date
- Jan 2008
- Posts
- 114
[SOLVED] How can I use wget in Perl ???
Please suggest how can I use following statement in perl
wget "http://webserver/test.cgi?year=2007&data=test&date=2008-03-04"Switched to Scripting
- 03-04-2008 #2should do it.Code:
system ('wget "http://webserver/test.cgi?year=2007&data=test&date=2008-03-04"');
jaigs_27, you've asked lots of questions about Perl at this site. Have you considered just working through a Perl tutorial? You might discover ideas for using Perl that you'd never have imagined otherwise.--
Bill
Old age and treachery will overcome youth and skill.
- 03-04-2008 #3Linux Newbie
- Join Date
- Jan 2008
- Posts
- 114
Thanks a lot.
Ya, you are right I'll take care of it henceforth.
Sorry if I am disturbing you lot.Switched to Scripting
- 03-04-2008 #4
Hey, there was no disturbing. :)
It's just that in the long run, documentation can be a better friend for you than we can.
Sometimes documentation isn't enough. I'm thinking those situations are what we're basically here for. Come back if you need us!--
Bill
Old age and treachery will overcome youth and skill.
- 03-04-2008 #5Linux Newbie
- Join Date
- Jan 2008
- Posts
- 114
Thanks a lot
Switched to Scripting
- 03-04-2008 #6Linux Newbie
- Join Date
- Jan 2008
- Posts
- 114
system ('wget "http://webserver/test.cgi?year=2007&data=test&date=2008-03-04"');
this failing when passing varaible instead of strings
like
system ('wget "http://webserver/test.cgi?year=$year&data=test&date=$date"');Switched to Scripting
- 03-04-2008 #7Linux Newbie
- Join Date
- Jan 2008
- Posts
- 114
Thanks resolved
Switched to Scripting



