Re: Reading from STDIN via echo command doesn't work ...

2007-10-16 Thread Walter . Laub
I tested with XP, but your tip is right. With explicit call of perl "all works as designed". Thank You. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reading from STDIN via echo command doesn't work with windows

2007-10-15 Thread Walter . Laub
I wrote a script, which send messages via SMTP. All works fine with Unix but not with Windows, when read the message from the echo command: echo "123" | mail_send.pl -c [EMAIL PROTECTED] -relay 172.21.17.16 The problem is when reading from STDIN: : : if ( defined $opt{message} ) { $message=$