Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: sql query subroutine check

by maksl (Pilgrim)
on Mar 02, 2003 at 14:47 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2023-03-23 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?