in reply to Source command in perl script
What's wrong with running it in the apropriate shell?
ie. /bin/sh /home/db2inst1/sqllib/db2profile
ie. /bin/sh /home/db2inst1/sqllib/db2profile
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom