in reply to Perl output on console as well as on text file

Powershell and tee?

Update:

"... i don't want to install any other module..."

So Powershell comes for the rescue.

Windows 7 or Server 2008 R2 comes with Powershell (as fare as i know). Else (Windows Vista, XP, Server 2003) you need to install it. N.B.: i'm no expert about current M$-Dog versions.

The missing example:

PS C:\> shyamason.pl | tee-object -filepath C:\path\to\shyamasoni-out.txt

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»