in reply to arguments to perl -e
#!/bin/bash file=$1 var=$2 cat $file | perl -e 'BEGIN { $var = $ARGV[0] } print <STDIN>' $var > o +utput
In Section
Seekers of Perl Wisdom
in reply to arguments to perl -e
#!/bin/bash file=$1 var=$2 cat $file | perl -e 'BEGIN { $var = $ARGV[0] } print <STDIN>' $var > o +utput