develooper Front page | perl.beginners | Postings from April 2012

Re: how to check new file generated

Thread Previous
From:
lina
Date:
April 2, 2012 09:02
Subject:
Re: how to check new file generated
Message ID:
CAG9cJm=GMd7fBSc7xSY98N0Yrp2FuLg9DQMkPf9rsxzX1U59Eg@mail.gmail.com
On Mon, Apr 2, 2012 at 11:35 PM, Jim Gibson <jimsgibson@gmail.com> wrote:
> At 4:08 PM +0800 4/2/12, lina wrote:
>>
>> I wish there is an alternative way in linux without installing use
>> Mail::Sendmail;
>>
>> on bash I used
>>
>> mail lina.lastname@gmail.com < report.txt
>
>
> If that works for you on your system, then just execute the same thing using
> system:
>
>
> system('mail lina.lastname@gmail.com < report.txt');

Thanks. It's the one I was looking for.

Thanks all for suggestions,

Best regards,

>
>
> Check 'perldoc -f system' for error checking methods.
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About