Re: Not mapping into a hash

2014-02-13 Thread Paul Johnson
On Thu, Feb 13, 2014 at 06:04:40AM -0500, shawn wilson wrote: > I know I'm overlooking something real simple here but I just don't see it: > And the method ('HERE' marking the branch that is having issues): Are you sure? I think you might not be getting that far. > sub _list_set > { > my ($se

Re: Not mapping into a hash

2014-02-13 Thread shawn wilson
Ugh, genius I do think ref was correct - we just have variable naming in our style guide and I did a :'<,'>s/direction/hDirection/gc and messed that one up :( Thanks for the re - it got me where I want to be (knew it was something stupid). On Thu, Feb 13, 2014 at 6:27 AM, Paul Johnson wrote:

Not mapping into a hash

2014-02-13 Thread shawn wilson
I know I'm overlooking something real simple here but I just don't see it: The test: $ipt->_list_set({ 'name' => "test", 'direction' => [qw/src dst/], 'useipset' => 1, }), ['-m set --match-set test src,dst'], "Source and destination list", Output: # Failed test

Re: Ways to get a mapping of values versus keys in a hash where there is one-to-one mapping between the keys and the values !

2008-11-25 Thread Amit Saxena
On Tue, Nov 25, 2008 at 10:59 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > Amit Saxena wrote: > > Hi all, > > > > I recently had one requirement where I needed to get the key in a hash on > > the basis of supplied value. > > > > There is one additional

Re: Ways to get a mapping of values versus keys in a hash where there is one-to-one mapping between the keys and the values !

2008-11-25 Thread Rob Dixon
Amit Saxena wrote: > Hi all, > > I recently had one requirement where I needed to get the key in a hash on > the basis of supplied value. > > There is one additional information that there is one to one mapping between > the keys and the values. > > I was able to

Ways to get a mapping of values versus keys in a hash where there is one-to-one mapping between the keys and the values !

2008-11-25 Thread Amit Saxena
Hi all, I recently had one requirement where I needed to get the key in a hash on the basis of supplied value. There is one additional information that there is one to one mapping between the keys and the values. I was able to do that by defining a extra array and hash variables as shown in the

Re: mapping

2004-06-30 Thread Wiggins d Anconia
Please bottom post, and group reply so that everyone can help and be helped, and to prevent accidental ignoring of your post. > > Hello wiggins, > > Thanks, > > My requirement is i have two arrays @element and @size that i have got by splitting. > Probably you should adjust the code at t

Re: Perl mapping solution

2004-01-11 Thread R. Joseph Newton
Kyle Sexton wrote: > I am trying to implement something akin the the perl monger map located > at http://bath.pm.org/map/. I have got my map to the point that it > will pull lat/long information from a web server and generate a map. > What I am looking to do now is implement zooming in on the map

Re: Perl mapping solution

2004-01-10 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Kyle Sexton) writes: >I am trying to implement something akin the the perl monger map located >at http://bath.pm.org/map/. I have got my map to the point that it >will pull lat/long information from a web server and generate a map. >What I am

Perl mapping solution

2004-01-10 Thread Kyle Sexton
I am trying to implement something akin the the perl monger map located at http://bath.pm.org/map/. I have got my map to the point that it will pull lat/long information from a web server and generate a map. What I am looking to do now is implement zooming in on the map like was done on the p

RE: mapping files

2003-10-08 Thread Wagner, David --- Senior Programmer Analyst --- WGO
David Byrne wrote: > Hello, > > I'm trying to map two files INPUT1 to INPUT2. I > believe that I've made a syntax error somewhere > because I'm not retrieving any ouput; yet I know that > there are IDs in INPUT2 (via $id2) that exist in > INPUT1 (via $id_1b). > > Also, is there a general, more e

mapping files

2003-10-08 Thread David Byrne
Hello, I'm trying to map two files INPUT1 to INPUT2. I believe that I've made a syntax error somewhere because I'm not retrieving any ouput; yet I know that there are IDs in INPUT2 (via $id2) that exist in INPUT1 (via $id_1b). Also, is there a general, more efficient, way to map files that conta

mapping usernames in unix/windows

2003-08-29 Thread Gupta, Sharad
Hi Friends, Any suggestions on how one can map usernames between unix/windows machines. Eg: Administrator->root Any modules/thoughts??. -Sharad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Mapping network drives with perl on win2k

2003-06-20 Thread Manfred . Beilfuss
Hi kenneth, you may try win32::AdminMisc ! It has a module logon where you can specify uid/passwd. Then you will have the users mappings. Being myself a perl beginner, I encountered problems to run it. Possibly you do better and succeed in installing it? Best regards Manfred Beilfuss

Antwort: Mapping network drives with perl on win2k

2003-06-20 Thread Manfred . Beilfuss
Hi kenneth, you may try win32::AdminMisc ( from which has a module logon Mit freundlichen Grüßen Manfred Beilfuss Deutsche Vermögensberatung AG IT-Systemmanagement / DBA Münchener Straße 1 60329 Frankfurt Tel.: +49 (69) 2384 - 639 Mailto:[EMAIL PROTECTED] Intern bitte Notes-Kürzel

Re: Mapping network drives with perl on win2k

2003-06-19 Thread Jenda Krynicky
From: Jensen Kenneth B SrA AFPC/DPDMPQ <[EMAIL PROTECTED]> > I have written a script which I would like to set up as an 'at' job on > windows 2000. The script transfers files from a remote UNIX server and > places them on a mapped network drive. My problem is that when the at > job runs it does not

Mapping network drives with perl on win2k

2003-06-18 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
I have written a script which I would like to set up as an 'at' job on windows 2000. The script transfers files from a remote UNIX server and places them on a mapped network drive. My problem is that when the at job runs it does not have access to mapped drives for particular users. Does anyone kn

RE: Is there a simple way to do uid -> username and usename -> ui d mapping?

2003-02-20 Thread Kipp, James
> Sent: Thursday, February 20, 2003 2:48 PM > To: [EMAIL PROTECTED] > Subject: Is there a simple way to do uid -> username and > usename -> uid > mapping? > > > I've got a file for which I use 'stat' to acquire its > information, but > stat giv

Re: Is there a simple way to do uid -> username and usename -> uid mapping?

2003-02-20 Thread John Baker
ED]> > To: [EMAIL PROTECTED] > Subject: Is there a simple way to do uid -> username and usename -> uid > mapping? > > I've got a file for which I use 'stat' to acquire its information, but > stat gives you numeric uid and gids. I need to get to the act

Is there a simple way to do uid -> username and usename -> uid mapping?

2003-02-20 Thread Ben Siders
I've got a file for which I use 'stat' to acquire its information, but stat gives you numeric uid and gids. I need to get to the actual username and groupname. How can this be done? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Windows drive mapping in perl

2001-09-27 Thread Crowder, Rod
m: Chris Garringer [mailto:[EMAIL PROTECTED]] > Sent: 26 September 2001 17:10 > To: [EMAIL PROTECTED] > Subject: Windows drive mapping in perl > > > Recently I had a problem where I had to loop through a set of > shares (actually NetWare servers and volumes), map a drive, >

Windows drive mapping in perl

2001-09-26 Thread Chris Garringer
Recently I had a problem where I had to loop through a set of shares (actually NetWare servers and volumes), map a drive, execute a program (that requires a drive mapping, UNC will not work), delete the drive mapping. I could not find a way to map/unmap a drive in Perl. I ended up calling a

Re: Directory mapping in NT

2001-05-02 Thread Sean O'Leary
At 08:42 AM 5/2/2001, you wrote: > I am working on automating some file imports from a file that are > saved on a server to a database on a local machine. It gets a bit ugly > because we need to run the text file through a conversion program from a > vendor before it gets imported into

Directory mapping in NT

2001-05-02 Thread Aaron Petry
I am working on automating some file imports from a file that are saved on a server to a database on a local machine. It gets a bit ugly because we need to run the text file through a conversion program from a vendor before it gets imported into the DB, and this conversion utility requ