Help for this page

Select Code to Download


  1. or download this
    @execute = ("gettersubscript.cgi", "$var1", "$var2");
    system(@execute) == 0 or die "system @execute failed: $?";
    
  2. or download this
    #!/usr/bin/perl
    $file = "current.txt";
    ...
    open (FILE, ">>$current") or die "Unable to access $file:$!\n";
    print FILE "testline \n";
    close FILE;