Hi! I have a foreach that's looking for files in a directory, if foreach find a file I need to load it (with the function &load_file()), however, I have this in load_file:
sub load_file { my $this = shift; $this->{FILE_ZIP} = $_[0]; } But, If its the second file I would like to delete the last FILE_ZIP, so, whats better before loading the filename in FILE_ZIP: $this->{FILE_ZIP} = undef; or delete $this->{FILE_ZIP} Thanks! Pablo -- Pablo Fischer Sandoval ([EMAIL PROTECTED]) http://www.pablo.com.mx http://www.debianmexico.org GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C Firma URL: http://www.pablo.com.mx/firmagpg.txt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]