Help for this page

Select Code to Download


  1. or download this
    open(FILE, "<info>");
    while (<FILE> ) {
    
  2. or download this
            # open the file safely or complain it wouldn't open
    open(FILE, "<", "info") or die "Failed to open info file: $!";
    ...
            # Sleep for 20 minutes before processing next file.
            sleep (20 * 60)
    }
    
  3. or download this
    #Expect 2 filenames and a directory path
    /^([\w._-] \s+ ([\w._-]) \s+ ([\w._\/-]$)/;
    
  4. or download this
    /home/jarich/passwd /etc/passwd abc
    a                   b                c
    
  5. or download this
    $1 = "a                  ";
    $2 = "b               ";
    $3 = "c"