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]