Help for this page

Select Code to Download


  1. or download this
    open($self->{FILE}, ">>$self->{file_path}$self->{file_name}") || die "
    +Could not open file $!\n";
    
  2. or download this
    my $self = {};
    
    ...
    my $fh = $self->{FILE};
    print $fh "some text here\n";
    close($self->{FILE});