Re: Make a script to run multiple scripts

2011-12-01 Thread Zachary Zebrowski
Or: use Proc::Background; my $x = Proc::Background->new("perl attachment.pl"); # Or correct args to launch script $x->wait(); # Wait for process to exit. More methods available. my $z = Proc::Background->new("perl attachmentN.pl"); $z->wait(); ... On Thu, Dec 1, 2011 at 1:25 PM, Shlomi Fish wr

Re: timing out threads

2011-11-01 Thread Zachary Zebrowski
Hi, $0.02 Look on cpan for the various proc:: modules. If you're doing something like a file copy, and need to shell out to do something, consider looking at : http://search.cpan.org/~bzajac/Proc-Background-1.10/lib/Proc/Background.pm. For me, it works when I need to do something on the command l

Re: Unable to install module from CPAN

2011-10-24 Thread Zachary Zebrowski
If this is on linux, do you have build-essentials installed? (meta package for g++, make, and other important libraries...) On Mon, Oct 24, 2011 at 9:42 PM, Punit Jain wrote: > Any help ? I am unable to install it. > > Regards, > Punit > > > - Original Message - > From: "Punit Jain" > T

Re: don't know where to start??? comparing files

2011-10-18 Thread Zachary Zebrowski
Why don't we just agree to disagree and move on. You both know you have a valid point, and yet there is valid reasons on both sides for having it the way it is, and why in particular environments it's valid to have it one way or the other. On Tue, Oct 18, 2011 at 10:13 AM, Randal L. Schwartz wrot

Re: Cannot bind a reference

2011-10-06 Thread Zachary Zebrowski
Try this syntax: my $dbh = DBI::connect("...",{RaiseError=>1}); # Add raise error to your dbh class, verbosity is good. my $sql = qq{insert into foo (col1,col2) values (?,?)}; # Seperate sql from prepare. my $sth = $dbh->prepare($sql); foreach my $x (@ary){ $sth->insert($x,'test'); } On Thu,

Re: John SJ Anderson is Perl Beginners list moderator

2011-10-06 Thread Zachary Zebrowski
On Thu, Oct 6, 2011 at 11:51 AM, Shawn H Corey wrote: > On 11-10-06 11:37 AM, Zachary Zebrowski wrote: > >> some mail clients (eg. Gmail) make it very hard to bottom post. Thanks >> for not excluding me. :) >> > > I don't mind top posters but I wished more

Re: John SJ Anderson is Perl Beginners list moderator

2011-10-06 Thread Zachary Zebrowski
++ some mail clients (eg. Gmail) make it very hard to bottom post. Thanks for not excluding me. :) On Oct 6, 2011 11:28 AM, "John SJ Anderson" wrote: > On Fri, Sep 30, 2011 at 18:51, Octavian Rasnita wrote: > >> I would like to put a question. Is top-posting accepted on the list? > > I've thoug

Re: Inviting ideas for Personal database

2011-10-05 Thread Zachary Zebrowski
Any database system will react differently under different file systems... On Wed, Oct 5, 2011 at 2:58 PM, Lubos Kolouch wrote: > Parag Kalra, Wed, 05 Oct 2011 11:49:00 -0700: > > > >> > >> > >> Finally, I should note that you shouldn't prefix your replies with > >> "PK>" or > >> > >> > > Agreed.