in reply to Re^4: System Command Issues
in thread System Command Issues
This should work
I made three changes to the code you posted:use strict; use warnings; my $address = 'myemail@whatever.com'; my $subject = "Comments Version: $version ID: $ID"; system( "mail $address -s '$subject' < blah6.txt" ) == 0 or die "mail failed: $?";
the lowliest monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: System Command Issues
by blanket (Initiate) on Jun 09, 2005 at 14:59 UTC | |
by blanket (Initiate) on Jun 09, 2005 at 15:32 UTC |