Re: Returning specific data from a webpage?
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 06 Jul 2005 21:42:25 GMT
Gunnar Hjalmarsson <noreply@xxxxxxxxx> wrote in
news:3j3129Fnr3sdU1@xxxxxxxxxxxxxx:
> demolitionz@xxxxxxxxx wrote:
>> A. Sinan Unur wrote
>>>
>>> Those should be
>>> use strict;
>>> use warnings;
>>> Case matters in Perl.
>>> Please read the posting guidelines for this group.
>>
>> Sorry, I was following the guidelines but I used the wrong case in
>> the actual script itself and so copied and pasted wrong. Newbie
>> mistake (we were all newbies once, remember?)
>
> Now you are lying, don't do that!! If you had used wrong cases in the
> actual script, the program hadn't compiled, and you hadn't talked
> about "successfully receiving a response page".
The OP might be on Windows where the case insensitive nature of the
operating system can play nasty tricks on the unsuspecting individual.
Indeed:
D:\Home\asu1> cat ttt.pl
#!/usr/bin/perl
use Strict;
use Warnings;
print "$t\n";
D:\Home\asu1> ttt
So, the OP might have indeed used the wrong capitalization and cut and
pasted the code without ever seeing any indication that anything was
wrong, if he is on Windows.
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.
- Follow-Ups:
- Re: Returning specific data from a webpage?
- From: Anno Siegel
- Re: Returning specific data from a webpage?
- References:
- Returning specific data from a webpage?
- From: demolitionz
- Re: Returning specific data from a webpage?
- From: A. Sinan Unur
- Re: Returning specific data from a webpage?
- From: demolitionz
- Re: Returning specific data from a webpage?
- From: A. Sinan Unur
- Re: Returning specific data from a webpage?
- From: demolitionz
- Re: Returning specific data from a webpage?
- From: Gunnar Hjalmarsson
- Returning specific data from a webpage?
- Prev by Date: Re: Returning specific data from a webpage?
- Next by Date: Re: Returning specific data from a webpage?
- Previous by thread: Re: Returning specific data from a webpage?
- Next by thread: Re: Returning specific data from a webpage?
- Index(es):
Relevant Pages
|