USE Statement

2004-12-23 Thread Ron Wingfield
I would like to the specify the USE argument dynamically as for example: USE $database; Apparently, the scalar is not recognized (compile error). Is it possible to provide a dynamic insertion such that a user could specify via a run-time parameter, which database the program is to use?

RE: USE Statement

2004-12-23 Thread Moosmann, James
= B.customerId ... *** That being said. If you pull out the use statement and execute it before you do the rest of the query. It will work also.. I do this by using a 'go' in the raw sql and then splitting the sql strings into an array and executing them in order. -Original Message- From: Ron

Re: USE Statement

2004-12-23 Thread Hardy Merrill
Ron, your message did make it to the list :) And from 'perldoc -q use': == What's the difference between require and use? Perl offers several different ways to include code from one file into another. Here are the deltas between the

Fw: USE Statement

2004-12-23 Thread Ron Wingfield
Oops, . . .forgot to reply to all. - Original Message - From: Ron Wingfield To: Hardy Merrill Sent: Thursday, December 23, 2004 2:15 PM Subject: Re: USE Statement First, from a first-time'er, thanks to all who have responded. This is a GREAT forum! BTW, I'm running FreeBSD 4.8