GET is a standard util that comes with perl. Problem with quoting the arguments is that it brings into play the problem with certain characters (like? and &, perhaps). The fix from command line is to put it in quotes, there for I really think the problem is with MAX_CANNON.Any Idea's ??
----- Original Message ----- From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]> To: "Mark Goland" <[EMAIL PROTECTED]> Cc: "perl" <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 10:50 PM Subject: Re: GET > On Oct 28, Mark Goland said: > > >Bumped into another problem. Not sure if this is the right place to ask, but > >someone might have encountred this here. It seems that if you give a long > >arg to open on winXP{ extanding MAX_CANNON on command prompt } it will get > >broken into lines. Does anyone know how to fix it ? Here is how to recreat, > > I think the problem is that the argument contains certain characters (like > ? and &, perhaps) in it. If you have 'GET', you probably also have > LWP::Simple. > > use LWP::Simple 'get'; > $content = get > "http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=$Val"; > > Or else quote the argument: > > open FH, > "GET 'http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=$Val' |"; > > -- > Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ > RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ > ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** > <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. > [ I'm looking for programming work. If you like my work, let me know. ] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]