Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: sql query subroutine check

by maksl (Pilgrim)
on Mar 02, 2003 at 14:47 UTC ( [id://239851]=note: print w/replies, xml ) Need Help??


in reply to Re: sql query subroutine check
in thread sql query subroutine check

i'm using hashes quite frequently to map changing file_names but never thought about using it for my database column. so sometimes, i carry with me strange names for field names .. their use has changed in between .. one that was thought for news_id .. is used for position in the referenced cat ;)

my %column_map = ( position => 'news_id', );

makes this code easier to read for shure
/me is taking a serious look at Class::DBI
thx ovid for your pointer .. :-))) maksl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-22 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found