Help for this page

Select Code to Download


  1. or download this
    bash-2.03$ ls -l DIR/
    total 4
    ...
    bash-2.03$ 
    bash-2.03$ ./testFNI.pl  DIR/
    ./testFNI.pl : ILLEGAL FILE NAME in DIR [rm -f .]
    
  2. or download this
    #!/usr/local/bin/perl -w
    use strict;
    ...
    my $dir = shift;
    if ( !$dir ) { die "usage : $0 <dir>\n"; }
    illegalFile ($dir);