http://qs321.pair.com?node_id=242040


in reply to Re: Undefined subroutine
in thread Undefined subroutine

Isn't a Module != Object?

-- zigdon

Replies are listed 'Best First'.
Re: Re^2: Undefined subroutine
by hiseldl (Priest) on Mar 11, 2003 at 14:38 UTC

    Yes, you are correct, a module is not an object, but you can use a module to instantiate an object. e.g. use MyMod; $object = new MyMod;

    --
    hiseldl
    What time is it? It's Camel Time!