Hi I have a simple question: I need to print the output on the screen and to a file. I know how to do this using tee command on Linux/Unix. But I dont know in perl. I tried using tee command here too but didnt work.Should I to install any perl modules like IO::tee or File::Tee etc to make it work? I tried downloading these packages using ppm but again it failed.I have also searched in perl monk and didnot get the required correct information. Can you please help me? Thanks in advance. Sample output to print both on screen and file: print "File split start time is ", eval 'scalar localtime';
In reply to print the output on the screen and to a file by rkshyam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |