Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How to structure applications using a RDBMS

by Ovid (Cardinal)
on Jul 18, 2002 at 22:57 UTC ( #183078=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $order_obj  = Foo::Order->new;
    my $orders     = $order_obj->by_date( $date );
        my $total = $order->total; # returns a value
        # do more stuff
  2. or download this
    sub delete_me {
      my $self = shift;
      my $sql = "DELETE FROM $self->{_table} WHERE $self->{_id_name} = ?";
      return $self->{_dbh}->execute( $sql, $self->{_id_value} );

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183078]
[ELISHEVA]: the data source, or one of them, is the OECD - they provide a *lot* of data that ought to be easily available to perl programmers.
[erix]: it might be cunning to mention the module in the title... :)
[ELISHEVA]: fancy that - a title that actually describes the problem :-)
[ELISHEVA]: but actually thanks for the reminder
[Discipulus]: DBI::CSV + utf8 = BOO?M
[erix]: in extremis we tend to forget stuff ;)
[ELISHEVA]: \Disciplus : lol
[Discipulus]: and ELISHEVA we waait one your post since ~2years... ;=)
[ELISHEVA]: has it really been that long?
[Discipulus]: it seems..

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-05-28 20:40 GMT
Find Nodes?
    Voting Booth?