[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Writing to file in PERL
- Subject: [ale] Writing to file in PERL
- From: tcarter at entrusion.com (Tony Carter)
- Date: Sat, 10 Mar 2012 14:14:16 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Sat, Mar 10, 2012 at 2:07 PM, Terry Bailey <terry at bitlinx.com> wrote:
> Hi,
>
> I cannot get PERL to write to a file. ?The file, named input, is set
> at 777 and I think the syntax in the script is correct. ?Does PERL
> require other permissions? I am runing centOS 5.4. ?The code is:
>
> open (INPIPE, '>/opt/input');
>
> print INPIPE "$data";
>
> close (INPIPE);
>
Check /opt directory permissions.
-Tony