Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: How do I create a sort sub on-the-fly?

by pope (Friar)
on Nov 02, 2001 at 16:45 UTC ( #122790=note: print w/replies, xml ) Need Help??


in reply to Re: How do I create a sort sub on-the-fly?
in thread How do I create a sort sub on-the-fly?

Perhaps you mean DBD::AnyData? DBD::RAM is obsoleted by this one.

Anyway, you've showed an interesting way to treat the problem as DBI query! ++ for that! (DBD::CSV should do it, too)

  • Comment on Re: Re: How do I create a sort sub on-the-fly?

Replies are listed 'Best First'.
Re:{3} How do I create a sort sub on-the-fly?
by jeroenes (Priest) on Nov 02, 2001 at 16:56 UTC
    I had no idea that DBD:RAM was obsoleted. I remembered some merlyn-WT with it, so I just installed it to try. Will check out DBD::Anydata of course... thanks.

    Update I got back at my root 'konsole' and found that anaydata failed the tests.. is that a known bug? ... i tried and tried... AnayData actually hangs on the.... I also tried cpan://Anydata... to no avail.

      No, it should pass all tests. It requires AnyData. It just behaves a little bit different from DBD::CSV when dealing with CSV data. It seems to expect that all non null fields to be escaped properly, which is not the case with DBD::CSV where a field needs escapes only when it is necessary. I was bitten by this quirk once.
Re{3} How do I create a sort sub on-the-fly?
by jeroenes (Priest) on Nov 06, 2001 at 11:30 UTC
    I think DBD::RAM uses DBD::CSV internally.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://122790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2020-01-19 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?