in reply to ODBC errors

As this is homework I probably shouldn't be helping you, but I'll give you a few hints.

Line 41: It looks like you are confusing perl with VB. Take a look at string opertors.

Line 39: Look at line 38, do you really need it? What would happen if you combine lines 38 and 39.

Your subs: Are they neccissary? If you 'use strict' you will get many errors with your current subs, is there a way to pass the object?

I hope that this gives you some direction.

Replies are listed 'Best First'.
Re: Re: ODBC errors
by the_0ne (Pilgrim) on May 16, 2001 at 17:56 UTC
    There's such a fine line between *helping* a person with their homework and *doing* their homework. I don't think there's any problem with asking a question on Perl monks, even if it is homework. Now if he/she said they wanted the perlmonks to write the entire thing, then ok, I see the problem, but helping out is exactly what the Perl community is about. I have seen some people really stumble over that line though. <G>

    Thanks for the reply also because being a VB and a Perl coder by profession, I also missed the ampersands(&) and didn't see that as the problem.