Hello,
Something was wrong with my Perl-5.8.4 installation. I de-installed the perl package and re-installed it from scratch on my PowerPC m/c and then installed the EXPECT package on top. After which my test perl scripts started working. Not exactly sure what was wrong with my initial setup.
Thanks a lot for all your suggestions.
Regards
Sri