[EMAIL PROTECTED] wrote:
>
Is there a quick and easy way that I can get the last key from a file.
For example, If I have this in my file (see below) how can I get the
line 20<\val2>, with out reading through the entire file
0<\val1>
0<\val2>
0<\val3>
10<\val1>
10<\val2>
10<\val3>
20<\val1>
20<\
On Jan 19, 2008 11:35 AM, <[EMAIL PROTECTED]> wrote:
> Is there a quick and easy way that I can get the last key from a file.
Do you have answers to Randal's questions when you asked this question
the other day, or are you changing the problem?
http://www.nntp.perl.org/group/perl.beginners/
[EMAIL PROTECTED] writes:
> For example, If I have this in my file (see below) how can I get the
> line 20<\val2>, with out reading through the entire file
>
> 0<\val1>
> 0<\val2>
> 0<\val3>
> 10<\val1>
> 10<\val2>
> 10<\val3>
> 20<\val1>
> 20<\val2>
> 20<\val3>
If you are on a unix like machine
Is there a quick and easy way that I can get the last key from a file.
For example, If I have this in my file (see below) how can I get the
line 20<\val2>, with out reading through the entire file
0<\val1>
0<\val2>
0<\val3>
10<\val1>
10<\val2>
10<\val3>
20<\val1>
20<\val2>
20<\val3>
--
To unsu
Hello,
I need to run a basic sql, query select "5 colums" from db.table where
columnx = 123.
Need to present this data to the user in html scrolling list (because
there might be hundreds of rows).
I guess there must be an easish way of doing this as perl 5.8 is quite
modern.
Please can someone sug
I'm running Gentoo, which does not yet have version 5.10 in the tree. I
downloaded and installed version 5.10 from source. (I'm not certain that
this is the cause of the issue, but it's the only thing I can think of.)
Now, Perl/CPAN appears to be putting packages into my root directory:
root
On Jan 18, 2008 4:11 PM, Liam <[EMAIL PROTECTED]> wrote:
> I was trying to install a personal version of Perl to my own user
> folder. I am running on a remote webserver that uses Apache. I have
> succeeded with the following steps:
>
> wget http://perl.com/CPAN/src/stable.tar.gz
> tar zvxf stab
On Jan 18, 11:06 pm, [EMAIL PROTECTED] (Kevin Viel) wrote:
> This I cannot get my mind around...
>
> My data:
>
> SNP Genotype
> 1 CC
> 1 CT
> 1 TT
> 1 NN
>
> It seems to me that I need a hash of hashes.
>
> Inner hash:
>
> $inner{ $Genotype }++ ;
>
> Since the value of the