#!/usr/bin/bash # do other processing # export the desired variables export OPC_MSG_TEXT OPC_MSG_CODE # use Perl for further processing ovo-test.pl