Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.15 KB | None | 0 0
  1. my $MyCurrFile = '';
  2.  
  3. while ( <> ) {
  4.     if ( $ARGV ne  $MyCurrFile ) {
  5.         print "Filename: " . $ARGV . "\n";
  6.         $MyCurrFile = $ARGV
  7.      }
  8.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement