Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: On timely destruction?

by TheDamian (Priest)
on Aug 28, 2002 at 07:47 UTC ( #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
Node Status?
node history
Node Type: note [id://193380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-09-19 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls