Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (None)
    As of 2017-09-22 03:56 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      During the recent solar eclipse, I:









      Results (257 votes). Check out past polls.

      Notices?