perl.beginners
  Home FAQ Contact Sign in
perl.beginners only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
perl.beginners Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Perl libs polluting root directory         


Author: Daniel D Jones
Date: Jan 19, 2008 12:20

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 / # ls -al
total 161
drwxr-xr-x 27 root root 4096 Jan 19 14:40 .
drwxr-xr-x 27 root root 4096 Jan 19 14:40 ..
drwxr-xr-x 3 root root 4096 Jan 19 14:39 Class
drwxr-xr-x 4 root root 4096...
Show full article (1.95Kb)
1 Comment
  Getting last key from a file         


Author: Paul 0403
Date: Jan 19, 2008 11:35

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>
1 Comment
  perl 5.8 CGI DBM Oracle and ?         


Author: Burrell John
Date: Jan 19, 2008 11:24

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 suggest the best modules to include to achieve this
and some pointers to for further research + any hints that spring to
mind?

Also I need to make a row clickable so as to display the rest of the
fields, (50ish!). But that should be easy if I have the right tools
installed and used for the initial retrieval - I hope.

Thnx in advance

J
no comments