Re: Reading 2 array lists

2009-02-23 Thread Chas. Owens
On Fri, Feb 20, 2009 at 13:53, mritorto wrote: > Owen, Chas. Owens, not Owen. snip > I got it to work using your script and the list compare module > > I figured that I had to copy the files to a certain directory . The > directions cspan gave were wrong for windows snip You should probably no

Re: Reading 2 array lists

2009-02-22 Thread mritorto
Owen, I got it to work using your script and the list compare module I figured that I had to copy the files to a certain directory . The directions cspan gave were wrong for windows thanks one question what does this mean? # my $comparison = List::Compare->new(\...@atlas, \...@isis);

Re: Reading 2 array lists

2009-02-22 Thread mritorto
guys question are their any books that explain all of the modules or atleast the most common as well as all of the expressions used in perl thanks marc On Feb 18, 8:33 pm, chas.ow...@gmail.com (Chas. Owens) wrote: > On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: > > Chas. Owens wrot

Re: Reading 2 array lists

2009-02-22 Thread marc ritorto
Chris, I installed the latest 5.10 and it does not work this is the error message C:\scripts\doubletakecheck>test.pl Can't locate List/compare.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/li b .) at C:\scripts\doubletakecheck\test.pl line 4. BEGIN failed--compilation aborted at C:\scripts

Re: Reading 2 array lists

2009-02-20 Thread Telemachus
On Fri Feb 20 2009 @ 1:29, mrito...@gmail.com wrote: > I have that one > > I need one for perl dummies like me If you want an alternative, take a look at Beginning Perl by Simon Cozens: http://www.perl.org/books/beginning-perl/ It's written for Perl 5.6 (I think), but the core of the syntax sh

Re: Reading 2 array lists

2009-02-20 Thread mritorto
I have that one I need one for perl dummies like me Lol --Original Message-- From: Dermot To: mritorto Cc: beginners@perl.org Subject: Re: Reading 2 array lists Sent: Feb 20, 2009 5:28 AM 2009/2/19 mritorto : > guys > > more questions > > > isn't built in. I am

Re: Reading 2 array lists

2009-02-20 Thread Telemachus
On Fri Feb 20 2009 @ 10:28, Dermot wrote: > 2009/2/19 mritorto : > > guys > > > > more questions > > > > > > isn't built in. I am using active state perl > > > > > > can u recommend any good perl books the ones I have aren't make for > > beginers like perl cookbook or perl in a nutshell > > I'd s

Re: Reading 2 array lists

2009-02-20 Thread Dermot
2009/2/19 mritorto : > guys > > more questions > > > isn't built in. I am using active state perl > > > can u recommend any good perl books the ones I have aren't make for > beginers like perl cookbook or perl in a nutshell I'd say start with this. Learning Perl (4th edition) ISBN0-596-10

Re: Reading 2 array lists

2009-02-19 Thread mritorto
guys more questions isn't built in. I am using active state perl can u recommend any good perl books the ones I have aren't make for beginers like perl cookbook or perl in a nutshell remember I have no programming background I am an exchange admin will this compare module work with windows

Re: Reading 2 array lists

2009-02-19 Thread Chas. Owens
On Thu, Feb 19, 2009 at 15:19, marc ritorto wrote: > will this module work with activestate perl ? snip With ActivePerl you need to look at the build status page* to see if a given module works. It looks like it works with Perl 5.8, but not Perl 5.6. You should be able to install it with the PP

Re: Reading 2 array lists

2009-02-19 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Thu, Feb 19, 2009 at 10:20, mritorto wrote: owen, How do you use the List::Compare module is the same as array::compare? snip List::Compare can be found in CPAN*. Here is you program rewritten to use it (this is not what I would do): We know. ;-) my @atlas = <$at

Re: Reading 2 array lists

2009-02-19 Thread Chas. Owens
On Thu, Feb 19, 2009 at 10:20, mritorto wrote: > owen, > > How do you use the List::Compare module is the same as array::compare? snip List::Compare can be found in CPAN*. Here is you program rewritten to use it (this is not what I would do): #!/usr/bin/perl use strict; use warnings; use List:

Re: Reading 2 array lists

2009-02-19 Thread mritorto
owen, How do I use the List::Compare module. I read online about a array::compare module is the same thing? marc On Feb 18, 8:33 pm, chas.ow...@gmail.com (Chas. Owens) wrote: > On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: > > Chas. Owens wrote: > snip > >> This is not the best

Re: Reading 2 array lists

2009-02-18 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: Chas. Owens wrote: snip This is not the best way to go about solving this problem (use diff or a module like Text::Diff*), If we are going to suggest a module, List::Compare would be more to the point IMO. snip No,

Re: Reading 2 array lists

2009-02-18 Thread Chas. Owens
On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: > Chas. Owens wrote: snip >> This is not the best way to go about solving this problem (use diff or a >> module like Text::Diff*), > > If we are going to suggest a module, List::Compare would be more to the > point IMO. snip No, the lines s

Re: Reading 2 array lists

2009-02-18 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Wed, Feb 18, 2009 at 15:43, mritorto wrote: #compares directories on 2 servers open (INPUT, " This is not the best way to go about solving this problem (use diff or a module like Text::Diff*), If we are going to suggest a module, List::Compare would be more to the

Re: Reading 2 array lists

2009-02-18 Thread Chas. Owens
On Wed, Feb 18, 2009 at 15:43, mritorto wrote: > guys > > I am new to perl scripting. > > I am trying to read 2 different txt files into 2 different arrays. > > My goal is to have a script read them both and print out any > differences. > > > Here is the script - it only prints out some of the fil

Re: Reading 2 array lists

2009-02-18 Thread Gunnar Hjalmarsson
mritorto wrote: guys I am new to perl scripting. I am trying to read 2 different txt files into 2 different arrays. My goal is to have a script read them both and print out any differences. Here is the script - it only prints out some of the files that end in a *.cer extentions but is miss t

Reading 2 array lists

2009-02-18 Thread mritorto
guys I am new to perl scripting. I am trying to read 2 different txt files into 2 different arrays. My goal is to have a script read them both and print out any differences. Here is the script - it only prints out some of the files that end in a *.cer extentions but is miss the other info ##