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 PROTECTED]";

The most frequent advice heard in this forum is to put "use strict"
and "use warnings" at the top of each file of Perl code you write. In
this case, if you turn on either warnings or strict, perl itself
should point you in the right direction. If it gives you an error
message that seems cryptic, see the full explanation in the perldiag
manpage.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

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


Reply via email to