in reply to using LWP::UserAgent and DBI together
Sourav, you should primarily decide, what do you want - if your goal is direct connection with some sql database engine (rdbms), DBI and proper DBD:: driver is a good choice. You can connect local rdbms (the software running on the same computer as your perl code), or you can connect remote rdbms, typically via pure tcp/ip protocol.
But if you want to establish communication with http server (local or remote, which is evident from url), you can use LWP::UserAgent and related modules.
Update: I apologize if I did not understand you correctly, perhaps you want to do both, http request and some sql command...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using LWP::UserAgent and DBI together
by sourav (Initiate) on Nov 09, 2009 at 15:42 UTC | |
by sourav (Initiate) on Nov 09, 2009 at 15:50 UTC |