Re: how to install WWW::Salesforce::Simple on a Mac? cpanm refuses to install Crypt::SSLeay

2016-04-14 Thread Natxo Asenjo
On Thu, Apr 14, 2016 at 8:41 PM, Kenneth Wolcott wrote: > > It would be nice if the prerequisites could some how be updated for > WWW::Salesforce so that one can have the functionality needed without > the risk of installing a known vulnerability. have you tried contacting the developper? Li

Re: Can't find EOCD signature Archive::Zip

2014-12-07 Thread Natxo Asenjo
On Sun, Dec 7, 2014 at 3:41 PM, Mike Flannigan wrote: > > FYI, > > Brandon McCaig set me straight that Archive::Zip is not > designed to extract Unix gzip files. in the standard Perl libraries you have IO::Uncompress::Gunzip which should do exactly what you require, I believe. http://perldoc.per

Re: LDAP server

2014-12-06 Thread Natxo Asenjo
On Fri, Dec 5, 2014 at 5:35 AM, Jitendra Barik wrote: > Hi All, > > Could you please let me know please, why this code is not working as I am > trying to validate my email id to my mail server? > > > my $ldap_server = "google.com"; # or some local mail server > my $ldap = Net::LDAP -> new($ldap_s

Re: List::MoreUtils with array of arrays not working

2014-07-10 Thread Natxo Asenjo
On Thu, Jul 10, 2014 at 1:00 AM, Jim Gibson wrote: > > On Jul 9, 2014, at 2:58 PM, Natxo Asenjo wrote: > > On Wed, Jul 9, 2014 at 10:35 PM, Jim Gibson > wrote: > > On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > > In order to use the hash method of determining uni

Re: List::MoreUtils with array of arrays not working

2014-07-09 Thread Natxo Asenjo
On Wed, Jul 9, 2014 at 10:35 PM, Jim Gibson wrote: > > On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > > > hi, > > > > i have an array of arrays which contains equal elements. I would like to > isolate the unique values. > > Do you mean that the subarra

List::MoreUtils with array of arrays not working

2014-07-09 Thread Natxo Asenjo
hi, i have an array of arrays which contains equal elements. I would like to isolate the unique values. I have tried using the uniq method of List::MoreUtils but it apparently does not work with an AoA. This is what I tried: for my $i ( @$data_ref ) { push $seen_ref, [ $i->{'value1'}, $i->

problem building DBD::mysql omnios (opensolaris clone)

2014-06-15 Thread Natxo Asenjo
hi, right now I am having a bit of a problem getting this built. I have installed built perl 5.20 using perlbrew and gcc-4.8.1. # perl -v This is perl 5, version 20, subversion 0 (v5.20.0) built for i86pc-solaris-thread-multi-64int Then cpanm failed because it could not find the path to mysql_

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

2014-03-27 Thread Natxo Asenjo
-- Groeten, natxo On Thu, Mar 27, 2014 at 2:30 AM, Benjamin Fernandis wrote: > 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/bi

Re: SOAP client problem

2013-10-30 Thread Natxo Asenjo
never mind, I got it: my $client = SOAP::Lite->new( proxy => $soap_url, uri => "http://support.dell.com/WebServices/";, ); and it works -- Groeten, natxo On Wed, Oct 30, 2013 at 9:41 PM, Natxo Asenjo wrote: > hi, > > I am trying to get some info off

SOAP client problem

2013-10-30 Thread Natxo Asenjo
hi, I am trying to get some info off a webservice using SOAP lite. The service definition is http://xserv.dell.com/services/assetservice.asmx?op=GetAssetInformation and this is my code: #!/usr/bin/env perl use warnings; use strict; use diagnostics; use Data::Dumper; use SOAP::Lite +trace => "

Re: string match question

2013-08-21 Thread Natxo Asenjo
l.com > Website: http://www.mattkunzman.com > LinkedIn: http://www.linkedin.com/pub/matthew-kunzman/b/5ba/94a > ----- > > > From: Natxo Asenjo > To: beginners@perl.org > Se

Re: string match question

2013-08-21 Thread Natxo Asenjo
o On Tue, Aug 20, 2013 at 6:20 PM, Rob Dixon wrote: > On 20/08/2013 15:02, Natxo Asenjo wrote: >> >> hi, >> >> for a nagios (monitoring system) check I need to scrape a web site >> (this is for a network device, a UPS, whatever). This particular >> de

string match question

2013-08-20 Thread Natxo Asenjo
hi, for a nagios (monitoring system) check I need to scrape a web site (this is for a network device, a UPS, whatever). This particular device only offers some functionality through a web interface. I get the content of the site using WWW::Mechanize after login in (this is really simple using the

Re: map problems

2013-05-16 Thread Natxo Asenjo
On Thu, May 16, 2013 at 11:14 PM, Jim Gibson wrote: > The * in (.*) is "greedy", meaning the Perl regular expression engine will > try to match as much as possible in each string after it finds the > substring 'cn='. To make it "non-greedy", put a question mark after the > quantifier: s/^cn=(.*?)

map problems

2013-05-16 Thread Natxo Asenjo
hi, in a ldap script where I get a list of values of a multivalued attribute like this: @memberof = qw( cn=group1,cn=xxx,dc=domain,dc=tld cn=group2,cn=xxx,d=domain,dc=tld etc etc) ; I would like to use map to convert the list of elements to @memberof = qw( group1 group2 group3 etc etc ) This is

Re: Perl script on a server using Win32::OLE

2012-10-03 Thread Natxo Asenjo
On Wed, Sep 26, 2012 at 8:23 AM, Jason Feng wrote: > > Hello, > > I have a Perl script running on a Windows 2008 server which uses Win32::OLE > to dump the results on Excel files. It is working fine when I remote login to > the server and run the script. > > Now I want to write a Perl script on

Re: Run perl scripts in Windows

2011-10-18 Thread Natxo Asenjo
On Oct 18, 2011 3:07 PM, "Remy Guo" wrote: > > hi all, > I have a Perl script in Windows but my system administrator doesn't allow me > to install ActivePerl nor i guess anything that will change rigistry on the > machine. You do not need to install anything on that host. You can install the msi

trouble derefencing

2011-10-08 Thread Natxo Asenjo
hi, I need to add a cli option to my script to push multiple values in a hash. I have verified that using Getopt::Long this is possible, but cannot get my head around dereferencing it. This is a sample code: == use strict; use warnings;