[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Writing to file in PERL



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