Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: On timely destruction?

by TheDamian (Vicar)
on Aug 28, 2002 at 07:47 UTC ( [id://193380]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      
        package CachedFile;
        
    ...
            my ($self) = @_;
            return \$self->{name};
        }
    
  2. or download this
        
        ${$cachedfile->name} = "a_long_file_name";
    
  3. or download this
       
        package Proxy;
        
    ...
            croak $self->{message}
                unless $self->{postcheck}->($self->{original});
        }
    
  4. or download this
        
        package CachedFile;
        
    ...
                             "File name too long!"
                             );
        }
    
  5. or download this
        
         my $file = CachedFile->new("orig_name");
        
        ${$file->name} = "shrt_fl_nm";              # okay
         
        ${$file->name} = "a_long_file_name";        # KABOOM!
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://193380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-19 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found