in reply to Help: Constructors and all things OO.
Does something like this work ? If a use lib '' is needed, that can be understood, but make sure you still have the use statement. I would also suggest using strict, warnings (or -w), and diagnotics on the test script to see if you can get any more information.use iXML::TheConstruct; use strict; my $obj = iXML::TheConstruct->new(); # ... get $html and $index $obj->add($html,$index); $output = $obj->output; #... do something with output.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help: Constructors and all things OO.
by IOrdy (Friar) on Aug 28, 2001 at 17:01 UTC | |
by MZSanford (Curate) on Aug 28, 2001 at 17:14 UTC | |
by IOrdy (Friar) on Aug 28, 2001 at 17:34 UTC | |
by MZSanford (Curate) on Aug 28, 2001 at 17:41 UTC |