Re: OO Perl question

2006-06-08 Thread Anthony Ettinger
my ($option) = $_ =~ s/(.*?)#/; #skip inline comments should be m//, not s// On 6/8/06, Anthony Ettinger <[EMAIL PROTECTED]> wrote: On 6/8/06, Graeme McLaren <[EMAIL PROTECTED]> wrote: > Hi Anthony, good idea about overriding the table names. I had a feeling > there would be a conf file som

Re: OO Perl question

2006-06-08 Thread Anthony Ettinger
On 6/8/06, Graeme McLaren <[EMAIL PROTECTED]> wrote: Hi Anthony, good idea about overriding the table names. I had a feeling there would be a conf file somewhere. As I am outputting the results of the SELECT to an HTML::Template I am already using a Conf file which is another class. This leads

Re: OO Perl question

2006-06-08 Thread Graeme McLaren
n only one is required. So how or where should I instantiate it? Cheers, G :) From: "Anthony Ettinger" <[EMAIL PROTECTED]> To: "Graeme McLaren" <[EMAIL PROTECTED]> CC: beginners@perl.org Subject: Re: OO Perl question Date: Thu, 8 Jun 2006 00

Re: OO Perl question

2006-06-08 Thread Anthony Ettinger
On 6/8/06, Graeme McLaren <[EMAIL PROTECTED]> wrote: Hi all, this class that I have written lists the contents of a "log" table when the $log->view method is invoked. There is some hardcoded SQL in this method and all I do is pass it a number which then looks up the relevant records. This reall