in reply to Parental Variables

You could do FILENAME but that solution is pretty ugly. You should instead do as the others are recommending and implement it as a module and import it in.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1