[ale] Writing to file in PERL

Tony Carter tcarter at entrusion.com
Sat Mar 10 14:14:16 EST 2012


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



More information about the Ale mailing list