I'm a little confused by perl's dot operator.for example,
$ perl -le 'print 3 . 4 '
34
$ perl -le 'print 3.4 '
3.4
these two commands got different results.
who says Perl interpreter will ignore the blackspace around an operator? I saw
it doesn't here.
Ok you may say 3.4 is a float not a sta
Chas. Owens wrote:
On Jan 21, 2008 2:11 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
snip
snip
So, if I understand correctly $data{$snp} is a value in a hash. That value
is a scalar that happens, in this case, to be a reference to an anonymous
hash? The key of this anonymous hash is $genotype?
On Jan 21, 2008 2:11 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
snip
> snip
> > So, if I understand correctly $data{$snp} is a value in a hash. That value
> > is a scalar that happens, in this case, to be a reference to an anonymous
> > hash? The key of this anonymous hash is $genotype? It does
On Jan 21, 2008 1:27 PM, Kevin Viel <[EMAIL PROTECTED]> wrote:
snip
> > while () {
> > my ($snp, $genotype) = split;
> > $data{$snp}{$genotype}++
> > }
snip
> > $data{$snp}{$genotype}++
>
> Is the semicolon unnecessary for this line?
snip
The semi-colon in Perl is a statement separator
On Jan 21, 2008 10:27 AM, Kevin Viel <[EMAIL PROTECTED]> wrote:
> > $data{$snp}{$genotype}++
>
> Is the semicolon unnecessary for this line?
It's not the line that matters, so much as what's going on. The
semicolon is used after most statements to indicate the end of the
statement; but the co
On Jan 21, 2008 12:39 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008 1:21 PM, jm <[EMAIL PROTECTED]> wrote:
> > i need to extract data from websites, tracking the status of various
> > shipments. i'm aware of the LWP module but wondered how many other
> > modules may be useful. i've
On Jan 21, 2008 1:21 PM, jm <[EMAIL PROTECTED]> wrote:
> i need to extract data from websites, tracking the status of various
> shipments. i'm aware of the LWP module but wondered how many other
> modules may be useful. i've just glanced over the LWP documentation
> (not in-depth at all yet) and
> -Original Message-
> From: Chas. Owens [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 18, 2008 9:07 PM
> To: Kevin Viel
> Cc: beginners@perl.org
> Subject: Re: Hash of hashes?
>
> On Jan 18, 2008 6:06 PM, Kevin Viel <[EMAIL PROTECTED]> wrote:
> > This I cannot get my mind around...
>
Thank you very much for the information. I will look into this.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
i need to extract data from websites, tracking the status of various
shipments. i'm aware of the LWP module but wondered how many other
modules may be useful. i've just glanced over the LWP documentation
(not in-depth at all yet) and i'm not sure if it will actually allow
me to pull the bits of d
On Jan 21, 2008 11:43 AM, Durick, JD <[EMAIL PROTECTED]> wrote:
> In addition to GeoIP offered by CPAN, if your company/university is
> paying for it, you might want to take a look at a commercial db called
> MaxMind (www.maxmind.com) which offers a static geolocater database
> complete with variou
In addition to GeoIP offered by CPAN, if your company/university is
paying for it, you might want to take a look at a commercial db called
MaxMind (www.maxmind.com) which offers a static geolocater database
complete with various APIs, one being perl. I believe akamai has
another but that one is qui
On Jan 21, 2008 2:38 AM, pallav <[EMAIL PROTECTED]> wrote:
> I have some research tools that I make available for download. When a
> person downloads it, I record the IP address.
>
> I wanted to know if perl has some functions/utilities where I can
> supply these IP address to get an approximate lo
I have some research tools that I make available for download. When a
person downloads it, I record the IP address.
I wanted to know if perl has some functions/utilities where I can
supply these IP address to get an approximate location of the IP
address. Most of the downloads are usually from res
Thanks Chas Owens for your detailed explanation.
It helped me a lot
Thanks,
Thomas Reddy
-Original Message-
From: Chas. Owens [mailto:[EMAIL PROTECTED]
Sent: Friday, January 18, 2008 9:01 PM
To: Allam Reddy, Thomas
Cc: beginners@perl.org
Subject: Re: help me in reading the xml file
On
15 matches
Mail list logo