Thanks, Andy... I'll chew on that awhile :-) -David
On Monday 23 June 2003 08:43 pm, Andy Lester wrote: > >Is there any way I can just say: > > > >use ISO::types::ILLString; > >my $s = new ILLString("This is a string"); > > First, what you're talking about isn't object related. It's just > package functions. > > You need to look at the Exporter module. Bascially, you want to do > this (off the topof my head) > > package ISO::types::ILLString; > > use Exporter; > our @EXPORT = qw( ILLString ); > > sub ILLString { > # blah blah blah > } > > 1; > > Now, whenever you say "use ISO::types::ILLString", you get ILLString > imported into your namespace. > > xoxo, > Andy