Re: Net::ISC::DHCPd or Net::DHCP::Info

2017-01-30 Thread Neil Bowers
Hi Lars, > When there are several CPAN modules that seem to do something similar, > how does one identify which one is more mature and well-maintained? > > For example, which one is best for parsing DHCPd configuration > (dhcpd.conf) files? Net::ISC::DHCPd or Net::DHCP::Info? I'm guessing >

Re: Extracting value from regex

2016-06-09 Thread Neil Bowers
Hi Punit, > /ldap:\/\/\/(.+)|mailto:(.+)/; > When i run this I get uid=user1,ou=People,o=test.com as > output however don't get y...@gmail.com printed. > The mailto is matched by $2, not $1. You can confirm this by changing your print line

Re: grep - block with start & end text

2016-03-20 Thread Neil Bowers
Hi Prashant, > Can you please help me to grep below 'block of text' from my file ? this > blocks occurs number of time & I want to grep all in between lines of this > block - There are several ways you can do this. Let’s say that “begin” is the start of a block, and “end” is the end. So