Perl statement questions

2008-06-21 Thread Jim Nathan
I'm new to Perl and I just got a position at a company where we use a couple of Perl scripts to both set or reset passwords and add user accounts. These come in handy when users request accounts on multiple servers. A guy who no longer works there wrote at least one of the scripts and I am told tha

Re: Perl statement questions

2008-06-21 Thread Gunnar Hjalmarsson
Jim Nathan wrote: "$| = 1;". Is there any special meaning of the $| (dollar-pipe) variable? Yes. http://perldoc.perl.org/perlvar.html#%24%7c "open(LFD, ">abc.log");". My question here is that I can't find an example of open being used in this syntax Odd. http://perldoc.perl.org/functions/

Re: Perl statement questions

2008-06-22 Thread Rob Dixon
Jim Nathan wrote: > > I'm new to Perl and I just got a position at a company where we use a > couple of Perl scripts to both set or reset passwords and add user > accounts. These come in handy when users request accounts on multiple > servers. A guy who no longer works there wrote at least one of t