works good now:
        my  $file_to_print = ( `ls -1c /test/*log | tail -1 `);

        print "file_to_print: $file_to_print";

        open (FILE, "< /test/$file_to_print") or die "Could not open
file_to_print $: $!";

although the third line is not opening the file. It prints out good
but but I get an error while opening the file..


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to