On 9 Mar 99, at 12:56, Jason Epstein wrote:

> I was wondering if anyone knows of any good references (web based,
> paperback, human -- whatever) for such a world. I grabbed an old book on
> PERL and have started to play around with it just for fun, but I am
> particularly interested in getting information about how to use PERL in
> conjunction with databases. Any advice and or ideas would be greatly
> appreciated.

As much as I am a big fan of Perl (my first and virtually only 
language), I wonder about your motive.

I consider Phillip Greenspun to be an oracle:

http://photo.net/wtr/

You will find his last and latest book online in addition to 
excellent forums.

Using Perl with databases is easily accomplished via the use of DBI.

use DBMYSQL2;
(that is a module of mine which uses DBI)

my $sql = qq|
SELECT referred_by, COUNT(*) as TOT
FROM referred_by
GROUP BY referred_by
ORDER BY TOT DESC
|;

my($all,$rows) =  $db->read($sql);

and boom you have your data in $all (in what I believe you would call 
a reference to an array of arrays).

Learning SQL takes more time than anything (going beyond simple 
selects, inserts, etc.).

But I believe that systems are important.

If I were you I would look into mod_perl.  I would look into 
servlets.
  
Peter






Might is not Right. But there is a lot of Might knocking 
about in this world, and something has to be done about it.
-- King Arthur, The Once and Future King
____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to