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