purna has asked for the wisdom of the Perl Monks concerning the following question:

I have question on perl dedupe.pl. In this the result is stored in memory. Can any one tell me how to make store it in database instead of memory. Iam using the DeDuper's class for finding the similar files , http://search.cpan.org/~janpom/Text-DeDuper-1.00/lib/Text/DeDuper.pm#add_doc in this program there is one class add_doc which inserts the result in the memory. Now i my question is how to insert this directly in the oracle database instead of inserting in the memory? Thanks.

Replies are listed 'Best First'.
Re: perl Dedupe
by shmem (Chancellor) on Mar 22, 2007 at 06:11 UTC
    Hello purna,

    welcome to the monastery. You will find a wealth of information in the Tutorials section, for your problem of the day see Database Programming there, specially DBI recipes.

    Don't miss the PerlMonks FAQ, and having read How (Not) To Ask A Question is no mistake...

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re: perl Dedupe
by Zaxo (Archbishop) on Mar 22, 2007 at 06:08 UTC

    I haven't seen the code, but in general use DBI;.

    After Compline,
    Zaxo

Re: perl Dedupe
by andye (Curate) on Mar 22, 2007 at 09:02 UTC
    Hi purna, and welcome to the monastery.

    It sounds as though dedupe.pl is a particular program written in Perl. Although people here can answer your questions about Perl in general, dedupe.pl isn't a standard thing that comes as part of Perl - it's something that someone has written specially.

    So, at the moment we don't know what it is - you're going to need to tell us. Is it this?

    Best wishes, andye