Set time in the file

2010-09-05 Thread sekhar
Hi All, I am searching regular expression for below problem. I have a large input file, contains lines of this sort 00:02:58,262 --> 00:03:01,473 00:03:05,561 --> 00:03:07,771 ie. hh:mm:ss,no --> hh:mm:ss,no Problem is here, there is a time difference so I need to set these times in another fi

Re: script for shutdown remote machine

2010-09-05 Thread Steve Bertrand
On 2010.09.04 01:40, Jyoti wrote: > Dear All, > Give me name of CPAN modules to write down perl script for shudown remote > machines. This is not a beginner-type question. Any `beginner' would have at *least* said some form of 'thanks in advance' (even though that is frowned upon where I come fro

Re: Using open and pipe and regex - need some guidance please

2010-09-05 Thread John W. Krahn
newbie01 perl wrote: Hi, Hello, Do the following set of codes does the same thing? FYI, am more interested on whether I can use CODE 03 to pipe/re-direct output from the OS commands, i.e. ps, df etc. Probably, yes. Will using | works on Windows as well? Sorry, I can't help you with Win

Using open and pipe and regex - need some guidance please

2010-09-05 Thread newbie01 perl
Hi, Do the following set of codes does the same thing? FYI, am more interested on whether I can use CODE 03 to pipe/re-direct output from the OS commands, i.e. ps, df etc. Will using | works on Windows as well? Am very new to Perl and has mostly done UNIX shell scripting. Am wanting to write Per