Look for a method using the DATA descriptor if the file name is not specified in the perl script.
I am not very good at perl.
Sort of:
use strict; use warnings; use autodie; use diagnostics; my $fd; if( $ARGV[0] && -f $ARGV[0] ) { open $fd, "<", $ARGV[0]; } else { $fd = "DATA";
source share