Re: can't run mailx as PERL system command

2007-11-28 Thread Jenda Krynicky
From: Elliot Holden <[EMAIL PROTECTED]> > ok this is problem going to be real easy for one of you PERL gurus but It's either Perl (the language) or perl (the interpreter), there is no such thing as PERL. > my little brain just can't figure it out. From the command line (Solaris > 9) I can do

Re: can't run mailx as PERL system command

2007-11-27 Thread Celejar
On Tue, 27 Nov 2007 19:43:55 -0500 Elliot Holden <[EMAIL PROTECTED]> wrote: > But in PERL the below code does not work: > > system("echo my little test | mailx -s \"Test Message\" > [EMAIL PROTECTED]"); > > even if I just do: > > system("mailx [EMAIL PROTECTED]"); You need to escape the '@' i

Re: can't run mailx as PERL system command

2007-11-27 Thread Tom Phoenix
On 11/27/07, Elliot Holden <[EMAIL PROTECTED]> wrote: > system("echo my little test | mailx -s \"Test Message\" > [EMAIL PROTECTED]"); What is that command? This code should show it to you: print "The command is: echo my little test | "; print "mailx -s \"Test Message\" "; print "[EMAIL PR

can't run mailx as PERL system command

2007-11-27 Thread Elliot Holden
ok this is problem going to be real easy for one of you PERL gurus but my little brain just can't figure it out. From the command line (Solaris 9) I can do this fine: echo my little test | mailx -s "Test Message" [EMAIL PROTECTED] But in PERL the below code does not work: system("echo my lit