Help for this page

Select Code to Download


  1. or download this
    my $directory = "/path/to/files";
    opendir DIR, $directory or die "can't open $directory: $!\n";
    ...
        close FILE;
    }
    closedir DIR;
    
  2. or download this
    perl -e 'print "How sweet does a rose smell? "; chomp $n = <STDIN>; $r
    +ose = "smells sweet to degree $n"; *other_name = *rose; print "$other
    +_name\n"'