Re: Script for auto conf

2014-12-29 Thread Brandon McCaig
On Tue, Dec 30, 2014 at 12:47:13AM -0300, Alan Glait wrote: > Hi ! Hello, > I have the Idea to make a perl script (better than in bash) to make some > configuration on linux. > I think to have some files like param.txt with some lines like: > param_one = ZZZ XX VV > param_two = Z > p

Re: Script for auto conf

2014-12-29 Thread Mike
I have a feeling this could easier be accomplished with bash. On 12/29/14 9:47 PM, Alan Glait wrote: Hi ! I have the Idea to make a perl script (better than in bash) to make some configuration on linux. I think to have some files like param.txt with some lines like: param_one = ZZZ XX VV

Script for auto conf

2014-12-29 Thread Alan Glait
Hi ! I have the Idea to make a perl script (better than in bash) to make some configuration on linux. I think to have some files like param.txt with some lines like: param_one = ZZZ XX VV param_two = Z param_three = X so need to check if param_one is in some_file.conf and if it is the

Re: IO::Socket

2014-12-29 Thread Brandon McCaig
Mike: On Mon, Dec 29, 2014 at 10:23:00AM -0600, Mike wrote: > Can anyone point me in the direction of more thorough > documentation for the IO::Socket module? Seems like the > documentation on perl.org is pretty limited. At least, it > doesn't feel very thorough to me. > > http://perldoc.perl.org

Re: IO::Socket

2014-12-29 Thread Andrew Solomon
This might be a good place to start: https://metacpan.org/pod/Socket On Mon, Dec 29, 2014 at 4:23 PM, Mike wrote: > Can anyone point me in the direction of more thorough documentation for the > IO::Socket module? Seems like the documentation on perl.org is pretty > limited. At least, it doesn't f

IO::Socket

2014-12-29 Thread Mike
Can anyone point me in the direction of more thorough documentation for the IO::Socket module? Seems like the documentation on perl.org is pretty limited. At least, it doesn't feel very thorough to me. http://perldoc.perl.org/IO/Socket.html For example, what exactly does "timeout" affect? Thi

Re: ignoring bad Prompt argument Warning.

2014-12-29 Thread Paul Johnson
On Mon, Dec 29, 2014 at 04:46:50PM +0530, Uday Vernekar wrote: > Hi All, > > I am doing Pattern matching of the expected string if matched then pass > the next command.my code works as expected but gives warning. > > can any body please Explain me why i am getting this at every match. > > ignor

ignoring bad Prompt argument Warning.

2014-12-29 Thread Uday Vernekar
Hi All, I am doing Pattern matching of the expected string if matched then pass the next command.my code works as expected but gives warning. can any body please Explain me why i am getting this at every match. ignoring bad Prompt argument "'/>>/'": missing opening delimiter of match operator a