Re: OTRS module

2015-03-26 Thread Benjamin Fernandis
15, at 3:54 PM, Benjamin Fernandis > wrote: > > > > Hi, > > > > We are using otrs help desk system which is in fully perl. We require to > append automatic comment when our specific customer raise ticket to us. We > have iteam no for each customer.So when customer send ma

OTRS module

2015-03-26 Thread Benjamin Fernandis
Hi, We are using otrs help desk system which is in fully perl. We require to append automatic comment when our specific customer raise ticket to us. We have iteam no for each customer.So when customer send mail and in body he mentioned iteam code ( like 4322) , so otrs automatically checks sen

Re: Interactive perl based application who works as per schedule

2014-10-09 Thread Benjamin Fernandis
> > http://perltricks.com/article/55/2013/12/22/Schedule-jobs-like-a-boss-with-every > > Maybe you want to use it in your (web-)application. > > Mit freundlichen Grüßen, > Christopher Brenk. > Am 09.10.2014 15:55 schrieb "John SJ Anderson" : > > On Thu, Oct 9

Interactive perl based application who works as per schedule

2014-10-09 Thread Benjamin Fernandis
Hi, I develop some scripts which we use with OS crontab to schedule to run certain scripts. Scripts are for backup , VM on/off etc... I want to integrate crontab function within perl script to do this. Like a perl based daemon, which accepts date/time and action from users and run according to

Re: Best way to install perl modules

2014-10-09 Thread Benjamin Fernandis
Hi Shlomi, Thanks. I also feel that centos/rhel perl seems brokern in terms of dependencies issues and some others. Regards On Thu, Oct 9, 2014 at 9:12 PM, Shlomi Fish wrote: > Hi Benjamin, > > On Sun, 5 Oct 2014 17:39:46 +1300 > Benjamin Fernandis wrote: > > > Hi Mik

Re: Best way to install perl modules

2014-10-06 Thread Benjamin Fernandis
+ Attaching log file. On Tue, Oct 7, 2014 at 2:59 PM, Mike wrote: > Please provide us with any errors from the installation log you've > received when using cpanm. > > > On 10/06/2014 08:58 PM, Benjamin Fernandis wrote: > > Hi, > > Today I face same previous

Re: Best way to install perl modules

2014-10-06 Thread Benjamin Fernandis
348 cpanm Dancer 349 instmodsh 350 history On Sun, Oct 5, 2014 at 6:17 PM, Benjamin Fernandis wrote: > Hi, Sam, > > Thanks, After installing development tools group, it works. > > Regards > Ben > > On Sun, Oct 5, 2014 at 6:02 PM, Sam wrote: > >> You prob

Re: Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
ling because a compiler or something > similar is missing. > > If you are on a redhat based system, trying running: > yum groupinstall "Development Tools" > > If you are on a debian based system try running: > aptitude install build-essential > > > --Sam &g

Re: Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
earch.cpan.org/~miyagawa/App-cpanminus-1.7012/lib/App/cpanminus.pm > > > On 10/4/14, 8:32 PM, Benjamin Fernandis wrote: > > Hi, > > Many times I face problem with module installation and then have to go > to google and apply trial and error to resolve this permanently, could u

Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
Hi, Many times I face problem with module installation and then have to go to google and apply trial and error to resolve this permanently, could u please suggest me best and correct method to get resolved it? i mean if i installed centos 7 freshly then what are pre-requisites from OS side to get

Re: auto completion by crtl + space is not working with eclipse -epic module , Good IDE for beginner

2014-07-15 Thread Benjamin Fernandis
> > $smtp = Net::SMTP->new(.); > $smtp->[content assist] > > > > On Tue, Jul 15, 2014 at 1:11 PM, Benjamin Fernandis > wrote: > >> Hi, >> >> I installed Ecplise standard version but auto completion of syntax is not >> working whil

auto completion by crtl + space is not working with eclipse -epic module , Good IDE for beginner

2014-07-15 Thread Benjamin Fernandis
Hi, I installed Ecplise standard version but auto completion of syntax is not working while pressing CTL + SPACE key. Is there any configuration required for this ? Any other good IDE for beginner ? Thx

Re: module installation error from cpan cli

2014-07-14 Thread Benjamin Fernandis
Thx, it works. I just reinstalled with CENTOS 7. After installing Test::More from cpan it works now. On Tue, Jul 15, 2014 at 12:22 AM, David Precious wrote: > On Tue, 15 Jul 2014 00:07:16 +1200 > Benjamin Fernandis wrote: > > > Hi, > > > > I got below error wh

module installation error from cpan cli

2014-07-14 Thread Benjamin Fernandis
Hi, I got below error while installing Devel::Trace module to trace each line of script like sh -x. [root@ahc151l backup]# cpan Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan[1]> install Devel::Trace Reading '/roo

Re: find specific line from file

2014-05-20 Thread Benjamin Fernandis
Hi peter, i can see it clearly. Regards Ben On Wed, May 21, 2014 at 11:29 PM, Peter Gordon wrote: > On Wed, 21 May 2014 11:19:36 +1200, Benjamin Fernandis wrote: > >Hi, > > > >I want to fetch rawuuid from below file for each partition name. > > > > > >I

find specific line from file

2014-05-20 Thread Benjamin Fernandis
Hi, I want to fetch rawuuid from below file for each partition name. I tried to use while loop and all but no luck. example : partition name : ada0p2 rawuuid: 5899824d-e019-11e3-9cbc-08002731cc9a file : Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last:

TDD and BDD with perl scripts

2014-03-30 Thread Benjamin Fernandis
Hi, I am new with perl and using it for my sys admin jobs. I want to use TDD / BDD with my perl scripts to make it more robust. Can you please suggest me that how to integrate TDD/BDD with perl scripts.? In my company , developer uses rspec and cucumber with ruby based code. I am from sys admi

Re: use sys::virt module to manage VM in kvm

2014-03-26 Thread Benjamin Fernandis
Hi Jim, Thanks for your kind response. I have installed rpm of perl-sys-virt on fedora 20 and i want to manage shutdown/start of guest VM by perl script. That method comes with sys::vrirt:domain, i trried that, but does not work. same error. Thnaks

use sys::virt module to manage VM in kvm

2014-03-26 Thread Benjamin Fernandis
Hi, I am new with perl and we have virtual machines in our infra. i want to use perl sys::virt module to manage them, means to shutdown / start vm by script and for that i wrote below small code. #!/usr/bin/perl # use strict; use warnings; use Sys::Virt; my $vmm = Sys::Virt->new(uri => "qemu:/