in reply to Re: General Class Creation Using Persistent Object, Method Privacy Enforcement and Exceptions
in thread General Class Creation Using Persistent Object, Method Privacy Enforcement and Exceptions
Thanks, I missed the fact that I had hard coded the store file name but had passed the reference to the file name. The sub store_object {} should read as follows:
sub store_object { my ( $self, $sref_file ) = @_; # Caller Check my $return = $self->_caller_check(); if ( $return ) { print STDERR $$return . "\n"; return $return; } Storable::store ( \%{ $self }, $$sref_file ); return undef; }
Peace Out,
DeadPoet
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: General Class Creation Using Persistent Object, Method Privacy Enforcement and Exceptions
by Anonymous Monk on Jul 01, 2003 at 18:54 UTC | |
by Anonymous Monk on Jun 22, 2005 at 01:14 UTC | |
by DeadPoet (Scribe) on Jul 02, 2003 at 01:07 UTC |