>>>>> "HB" == Hildo Biersma <[EMAIL PROTECTED]> writes: HB> There's a reason people use objects - if only to give the user a handle HB> to wrap the module's state. Any module that supports both OO and HB> procedural usage is basically a singleton - only one instance exists at HB> any one time (at least in procedural mode). For most modules, this HB> doesn't and shouldn't make sense. Sorry, this doesn't make sense. Please explain the difference between $foo->twiddle and twiddle $foo Or to go to a more specific domain $fh = new File::Text "blah" open($fh, "blah") $txt = $fh->read $txt = <$fh> etc. There is nothing preventing a procedural interface. One only needs a handle. <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- Re: How to implement both objec... Chaim Frenkel
- Re: How to implement both objec... Graham Barr
- Re: How to implement both objec... John Berthels
- Re: How to implement both objec... Tim Bunce
- Re: How to implement both objec... Michael Fowler
- Re: How to implement both objec... Graham Barr
- Re: How to implement both objec... David L. Nicol
- Re: How to implement both objec... Tim Bunce
- Re: How to implement both objec... Graham Barr
- Re: How to implement both object->method ... Michael Fowler
- Re: How to implement both object->method ... Chaim Frenkel
- Re: How to implement both object->met... Hildo Biersma
- Re: How to implement both object->method and modu... Graham Barr
- Re: How to implement both object->method and module::f... Nick Ing-Simmons
- Re: How to implement both object->method and module::f... Michael Fowler