I think you need to reread open.
my $mode = '>>'; # Append my $file_path = '/path/to/file'; my $filehandle; open ( $filehandle, $mode, $file_path ) or die "Unable to open $file_path: $!\n"; print $filehandle "Stuff\n";
TGI says moo
In reply to Re: Changing directories
by TGI
in thread Changing directories
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |