Re: perl OOP question

2003-06-23 Thread David Christensen
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 > packa

Re: perl OOP question

2003-06-23 Thread Andy Lester
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 I

perl OOP question

2003-06-23 Thread David Christensen
Hi All I have a (dumb) question :-) I've built a some classes (eg: ILLString) which live in ./ISO/types The class "header" is: Package ISO::types::ILLString Everything in my test program works fine if (in the top-level directory) I say: use ISO::types::ILLString; my $s = new ISO::types::I

web/news/rss for perl4lib

2003-06-23 Thread Ed Summers
Now that perl4lib is being hosted at perl.org we inherit some of the neat infrastructure that is already in place for the many other perl lists. The archives can be read via the web at: http://nntp.x.perl.org/group/perl.perl4lib If you like reading your lists as newsgroups you can direct your