Class::DBI vs DBIx::Class

2009-02-02 Thread Jay Savage
Hi All, I was wondering if someone could point me toward a useful comparison of Class::DBI and DBIx::Class. Going through the docs, they seem to be much of a muchness. Are there any clear advantages to DBIxC? I'm porting a (Maypole-based) webapp to new environment, and I'm toying with the idea of

Re: How do I print something out in color on windows cmd?

2009-02-02 Thread Jenda Krynicky
> Sarsamkar, Paryushan wrote: > > > > I wanted to print some text on windows cmd in different colors, below is the > > code that I am using which works fine on unix but not on windows L > > > > > > #!/usr/bin/perl > > use strict; > > use warnings; > > use Term::ANSIColor; > > > > print color("re

Re: hash baby steps

2009-02-02 Thread John W. Krahn
John W. Krahn wrote: John W. Krahn wrote: Johnson, Reginald (GTS) wrote: I am wondering if I am doing this in an efficient manor. I am taking my first input file and putting it in a hash with server name as a the key. The second input file has two fields exp_server and exp_date. I put this fi

Re: hash baby steps

2009-02-02 Thread John W. Krahn
John W. Krahn wrote: Johnson, Reginald (GTS) wrote: I am wondering if I am doing this in an efficient manor. I am taking my first input file and putting it in a hash with server name as a the key. The second input file has two fields exp_server and exp_date. I put this file in hash using exp_s

Re: hash baby steps

2009-02-02 Thread John W. Krahn
Johnson, Reginald (GTS) wrote: I am wondering if I am doing this in an efficient manor. I am taking my first input file and putting it in a hash with server name as a the key. The second input file has two fields exp_server and exp_date. I put this file in hash using exp_server as the key. I th

hash baby steps

2009-02-02 Thread Johnson, Reginald (GTS)
I am wondering if I am doing this in an efficient manor. I am taking my first input file and putting it in a hash with server name as a the key. The second input file has two fields exp_server and exp_date. I put this file in hash using exp_server as the key. I then check if exp_server exist in t

Re: How do I print something out in color on windows cmd?

2009-02-02 Thread Rob Dixon
Sarsamkar, Paryushan wrote: > > I wanted to print some text on windows cmd in different colors, below is the > code that I am using which works fine on unix but not on windows L > > > > #!/usr/bin/perl > > use strict; > > use warnings; > > use Term::ANSIColor; > > > > print color("red"),

pipe perl output to a bash command error

2009-02-02 Thread Tarek Elganainy
I was wondering why the first line give me output but the second don't, any clue!! 1. while sleep 2;do printf "1\n1\n"|perl -e 'while ( <> ) { print; }';done|perl -e 'while ( <> ) { print; }' 2. while sleep 2;do printf "1\n1\n"|perl -e 'while ( <> ) { print; }';done|perl -e 'while ( <> ) { print;

RE: working with CPAN

2009-02-02 Thread Fisher, John
This is helpful. Thanks for telling me about it. I did work thru my problem with loading the PM. I manually went to the folder where the CPAN placed the module Convert::IBM390 and did make, test, install and it now is working. I guess there is some configuration (o conf) problem. Make doesn't h

Re: perl module not found.

2009-02-02 Thread Alf Stockton
Peter Scott wrote: On Mon, 02 Feb 2009 12:26:12 +0200, Alf Stockton wrote: 2009/2/2 Alf Stockton : When trying to install an application written in perl I get the error message CSS::Squish >= 0.06...MISSING so I then attempt installing it via perl -MCPAN -e shell cpan> install CSS::Squis

Re: perl module not found.

2009-02-02 Thread Peter Scott
On Mon, 02 Feb 2009 12:26:12 +0200, Alf Stockton wrote: >> 2009/2/2 Alf Stockton : >>> When trying to install an application written in perl I get the error >>> message >>>CSS::Squish >= 0.06...MISSING >>> so I then attempt installing it via >>> perl -MCPAN -e shell >>> cpan> install CSS::S

Re: perl module not found.

2009-02-02 Thread Alf Stockton
Ralf Peng wrote: 2009/2/2 Alf Stockton : When trying to install an application written in perl I get the error message CSS::Squish >= 0.06...MISSING so I then attempt installing it via perl -MCPAN -e shell cpan> install CSS::Squish but when I attempt r...@general:~# perl -MSquish -e 1

Re: perl module not found.

2009-02-02 Thread Ralf Peng
2009/2/2 Alf Stockton : > When trying to install an application written in perl I get the error > message >CSS::Squish >= 0.06...MISSING > so I then attempt installing it via > perl -MCPAN -e shell > cpan> install CSS::Squish > > but when I attempt > > r...@general:~# perl -MSquish -e 1 Y

perl module not found.

2009-02-02 Thread Alf Stockton
When trying to install an application written in perl I get the error message CSS::Squish >= 0.06...MISSING so I then attempt installing it via perl -MCPAN -e shell cpan> install CSS::Squish but when I attempt r...@general:~# perl -MSquish -e 1 Can't locate Squish.pm in @INC (@INC contai

Re: perl stdout errors due to called script does not exist

2009-02-02 Thread inetquestion
On Jan 28, 9:46 pm, r...@kuicr.kyoto-u.ac.jp (Raymond Wan) wrote: > Hi, > > inetquestionwrote: > > for the example perl script below is there a way to avoid errors from > > showing up in stdout if the shell script being called does not exist? > > The shell script being called is not in the same dir