Help for this page

Select Code to Download


  1. or download this
    open FILE, ">filename" or die $!;
    print FILE $myVar, "\n";
    ...
    $myVal = <FILE>;
    chomp $myVal; #remove the newline
    close FILE;