in reply to Help With Perl and Files
$stamp=`/bin/date +%Y%m%d%H%M%S`; $file="/u01/scripts/logs/$stamp.tapes"; `/bin/touch $file`;
Later on you do
$media_list=`/bin/cat /u01/scripts/logs/$file`;
so you are cat'ing the file "/u01/scripts/logs//u01/scripts/logs/$stamp.tapes" which is probably not what you intended.
I hope this helps you.
Cheers,
JohnGG
|
|---|