in reply to Re^2: Call perl script and capture values in bash.
in thread Call perl script and capture values in bash.

Parse output like ...
print "counter=$counter files have been successfully saved.\n";
In bash capture value assign after "counter=" string..