hello perl friends,
a regex result of a bash command ([command][file] | grep [pattern]) should be passed in to a perl script to be available for further processing by the script.
the script line:
open ( INFO,"< [command] ARGV[0] | grep [pattern]" )
|| die "can't fork: $!";
leads to the 'die' part of the script line.
what would be the correct procedure to accomplish the task?
thank you.
best regards.
pj
a regex result of a bash command ([command][file] | grep [pattern]) should be passed in to a perl script to be available for further processing by the script.
the script line:
open ( INFO,"< [command] ARGV[0] | grep [pattern]" )
|| die "can't fork: $!";
leads to the 'die' part of the script line.
what would be the correct procedure to accomplish the task?
thank you.
best regards.
pj