From perl.abe at rjbs.manxome.org Mon Feb 4 20:15:40 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Mon, 4 Feb 2008 23:15:40 -0500 Subject: [ABE.pm] this wednesday, mcgrady's Message-ID: <20080205041539.GA1624@zodiac.codesimply.com> This ever showed up on the list, so I'm re-sending it. See you there! That's all I got. -- rjbs From faber at linuxnj.com Wed Feb 6 19:56:41 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Wed, 6 Feb 2008 22:56:41 -0500 Subject: [ABE.pm] ImprovEverywhere last gig Message-ID: <20080207035641.GA4003@neptune.faber.nom> http://uk.youtube.com/watch?v=jwMj3PJDxuo -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From perl.abe at rjbs.manxome.org Sat Feb 16 10:44:08 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Sat, 16 Feb 2008 13:44:08 -0500 Subject: [ABE.pm] REM and the Artistic License Message-ID: <20080216184408.GA33127@knight.local> Okay, this is seriously weird news: http://perlbuzz.com/2008/02/rem-releases-videos-under-artistic-license-20.html -- rjbs From perl.abe at rjbs.manxome.org Sat Feb 16 18:47:21 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Sat, 16 Feb 2008 21:47:21 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL Message-ID: <20080217024721.GA35262@knight.local> Our next meeting will be Wednesday, March 5th, at the BAPL again. We'll be in the other room this time, but I don't know where in the library that is. I'll try to find out between now and then. Any topic requests? If anybody else has something awesome to talk about, that would be super. Otherwise, I can try to hold forth on whatever gets requested in advance. Topics I've been poking at recently include: POE, Catalyst, Moose, email (duh), Mac OS X, other stuff. I'd like to establish a topic this week so that whoever is going to speak will have time to become prepared! -- rjbs -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://mail.pm.org/pipermail/abe-pm/attachments/20080216/12f5756f/attachment.bin From faber at linuxnj.com Wed Feb 20 11:46:54 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Wed, 20 Feb 2008 14:46:54 -0500 Subject: [ABE.pm] Anyone use TheSchwartz? Message-ID: <20080220194654.GA12806@neptune.faber.nom> Anyone? I've been hacking away at this for the past two hours and I'm getting nowhere. I'm trying to get their "sample code" from the perldoc working but there's not enough useful info there to actually run it. At the moment, I'm getting the error "No Driver at /usr/lib/perl5/site_perl/5.8.0/Data/ObjectDriver/Driver/DBD.pm line 11." but according to The Google, no one has ever gotten an error of the form 'No Driver at all' perl -car -auto". Isn't a DSN formed like: DBI:mysql:dbname? If anyone knows of a reliable job queue that actually has documentation, I'd love to hear about it, Perl or not. My ultimate goal: have a web page submit a job, a job manager to run it, a way to update a web page with the job's status, and supply a URL back to the web page with the completed job results. Is that so difficult? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From fiedlert at gmail.com Wed Feb 20 11:58:12 2008 From: fiedlert at gmail.com (Ted Fiedler) Date: Wed, 20 Feb 2008 14:58:12 -0500 Subject: [ABE.pm] Anyone use TheSchwartz? In-Reply-To: <20080220194654.GA12806@neptune.faber.nom> References: <20080220194654.GA12806@neptune.faber.nom> Message-ID: <47BC8654.3030209@gmail.com> Faber J. Fedor wrote: > > If anyone knows of a reliable job queue that actually has documentation, > I'd love to hear about it, Perl or not. > > Like Torque => http://www.clusterresources.com/pages/products/torque-resource-manager.php or OpenPBS => www.openpbs.org Torque is better in my opinion, The mailing list is much more active and responsive anyway. > My ultimate goal: have a web page submit a job, a job manager to run it, > a way to update a web page with the job's status, and supply a URL back > to the web page with the completed job results. Is that so difficult? > > > Ted -- "All your regex engines are belong to us!" --Yves Orton (http://www.regex-engineer.org/slides/img5.html) From perl.abe at rjbs.manxome.org Wed Feb 20 19:46:47 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Wed, 20 Feb 2008 22:46:47 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080217024721.GA35262@knight.local> References: <20080217024721.GA35262@knight.local> Message-ID: <20080221034647.GA20247@knight.local> * Ricardo SIGNES [2008-02-16T21:47:21] > Any topic requests? If anybody else has something awesome to talk about, > that would be super. Otherwise, I can try to hold forth on whatever gets > requested in advance. Topics I've been poking at recently include: POE, > Catalyst, Moose, email (duh), Mac OS X, other stuff. Nothing? Speak now or forever hold your peace! At least a few of you are, uh, going to be there, right? :) -- rjbs From fiedlert at gmail.com Thu Feb 21 00:10:47 2008 From: fiedlert at gmail.com (Ted Fiedler) Date: Thu, 21 Feb 2008 03:10:47 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221034647.GA20247@knight.local> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> Message-ID: <814422ce0802210010u5d8424b8vdc4971e20d4a505c@mail.gmail.com> On Wed, Feb 20, 2008 at 10:46 PM, Ricardo SIGNES wrote: > > Nothing? Speak now or forever hold your peace! At least a few of you > are, uh, > going to be there, right? :) > Ill be there. Moose or email sound good to me. Moose seems a bit over my head but interesting. -Ted -- If you mess with a thing long enough, it'll break. -- Schmidt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/abe-pm/attachments/20080221/bb536bce/attachment.html From faber at linuxnj.com Wed Feb 20 20:55:03 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Wed, 20 Feb 2008 23:55:03 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221034647.GA20247@knight.local> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> Message-ID: <20080221045503.GA14558@neptune.faber.nom> On 20/02/08 22:46 -0500, Ricardo SIGNES wrote: > * Ricardo SIGNES [2008-02-16T21:47:21] > > Any topic requests? If anybody else has something awesome to talk about, > > that would be super. Otherwise, I can try to hold forth on whatever gets > > requested in advance. Topics I've been poking at recently include: POE, > > Catalyst, Moose, email (duh), Mac OS X, other stuff. > > Nothing? Speak now or forever hold your peace! At least a few of you are, uh, > going to be there, right? :) I'll be there. Please, hold the applause, people. You don't know anything about TheFrakinSchwartz, right? I actually got something running today. Ask me in a week and maybe I can say something interesting about it. I'd be interested in hearing about (non-Leopard) OS X stuff, since my Macbook is basically just an extension of my iPod. There's a topic! (for the ML at least) What podcasts do you guys listen to? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From perl.abe at rjbs.manxome.org Thu Feb 21 07:03:14 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Thu, 21 Feb 2008 10:03:14 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221045503.GA14558@neptune.faber.nom> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> <20080221045503.GA14558@neptune.faber.nom> Message-ID: <20080221150314.GA23948@knight.local> * "Faber J. Fedor" [2008-02-20T23:55:03] > You don't know anything about TheFrakinSchwartz, right? I actually got > something running today. Ask me in a week and maybe I can say something > interesting about it. I don't. I'd like to find a job queue to replace the one we use at work, but as with much of BRADFITZ's code, TheSchwartz is underdocumented. There's also the related Gearman, IPC::DirQueue, and a dozen other solutions. I haven't looked at Torque yet, either. > I'd be interested in hearing about (non-Leopard) OS X stuff, since my > Macbook is basically just an extension of my iPod. I'd gladly talk about Mac::Glue, but I'm not sure anyone else has a Mac. :( > There's a topic! (for the ML at least) What podcasts do you guys listen to? I don't. I don't sync my iPod enough, and when I'm at my computer it'd be hard to listen to something that requires attention. -- rjbs -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://mail.pm.org/pipermail/abe-pm/attachments/20080221/db139c41/attachment.bin From faber at linuxnj.com Thu Feb 21 09:12:20 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 21 Feb 2008 12:12:20 -0500 Subject: [ABE.pm] Anyone use TheSchwartz? In-Reply-To: <47BC8654.3030209@gmail.com> References: <20080220194654.GA12806@neptune.faber.nom> <47BC8654.3030209@gmail.com> Message-ID: <20080221171220.GA17388@neptune.faber.nom> On 20/02/08 14:58 -0500, Ted Fiedler wrote: > Faber J. Fedor wrote: > > > > If anyone knows of a reliable job queue that actually has documentation, > > I'd love to hear about it, Perl or not. > > > > > Like Torque => > http://www.clusterresources.com/pages/products/torque-resource-manager.php Wow! That looks flexible! It may also be overkill for what I Want since I don't see my application going beyond one machine. I assume having the job submission and execution on one machine is a triival case, no? Let me see if I've got this right: my CGI script will create a batch file ~/scripts/job1.sh containing the following #!/bin/bash /usr/bin/perl FooBar.pl --arg1=foo --arg2 bar and then submit a job using the 'qsub' command which will run my script, right? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From faber at linuxnj.com Thu Feb 21 09:24:14 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 21 Feb 2008 12:24:14 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221150314.GA23948@knight.local> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> <20080221045503.GA14558@neptune.faber.nom> <20080221150314.GA23948@knight.local> Message-ID: <20080221172414.GB17388@neptune.faber.nom> On 21/02/08 10:03 -0500, Ricardo SIGNES wrote: > * "Faber J. Fedor" [2008-02-20T23:55:03] > > You don't know anything about TheFrakinSchwartz, right? I actually got > > something running today. Ask me in a week and maybe I can say something > > interesting about it. > > I don't. I'd like to find a job queue to replace the one we use at work, but > as with much of BRADFITZ's code, TheSchwartz is underdocumented. There's also > the related Gearman, IPC::DirQueue, and a dozen other solutions. I haven't > looked at Torque yet, either. Well, I'm getting a handle on TheSchwartz. Two things I've come across IIUC: firstly, all your functionality is wrapped in a subclass with one method called work() and secondly to add more functionality to your worker (which is calling the subclasses previously mentioned) you have to stop and start the worker. The latter doesn't sound right to me but maybe The Proper Way FAIK. Torque looks awesome if I had a cluster, which I [wd]on't but may be easier to deal with than TheSchwartz just because of documentation. > I'd gladly talk about Mac::Glue, but I'm not sure anyone else has a Mac. :( Thanks for the tip. What have you done with Mac::Glue? > > There's a topic! (for the ML at least) What podcasts do you guys listen to? > > I don't. I don't sync my iPod enough, and when I'm at my computer it'd be hard > to listen to something that requires attention. I listen to them when I'm driving or at the gym. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From perl.abe at rjbs.manxome.org Thu Feb 21 10:32:56 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Thu, 21 Feb 2008 13:32:56 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221172414.GB17388@neptune.faber.nom> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> <20080221045503.GA14558@neptune.faber.nom> <20080221150314.GA23948@knight.local> <20080221172414.GB17388@neptune.faber.nom> Message-ID: <20080221183256.GA25728@knight.local> * "Faber J. Fedor" [2008-02-21T12:24:14] > > I'd gladly talk about Mac::Glue, but I'm not sure anyone else has a Mac. :( > > Thanks for the tip. What have you done with Mac::Glue? I use this all the time: http://rjbs.manxome.org/rubric/entry/1582 This is not longer useful: http://rjbs.manxome.org/hacks/perl/bdcal ...and other stuff. -- rjbs -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://mail.pm.org/pipermail/abe-pm/attachments/20080221/6a74bd15/attachment.bin From fiedlert at gmail.com Thu Feb 21 15:18:46 2008 From: fiedlert at gmail.com (Ted Fiedler) Date: Thu, 21 Feb 2008 18:18:46 -0500 Subject: [ABE.pm] Anyone use TheSchwartz? In-Reply-To: <20080221171220.GA17388@neptune.faber.nom> References: <20080220194654.GA12806@neptune.faber.nom> <47BC8654.3030209@gmail.com> <20080221171220.GA17388@neptune.faber.nom> Message-ID: <814422ce0802211518k530f9e40w7003f66b707b66c8@mail.gmail.com> On Thu, Feb 21, 2008 at 12:12 PM, Faber J. Fedor wrote: > > > > > Like Torque => > > > http://www.clusterresources.com/pages/products/torque-resource-manager.php > > Wow! That looks flexible! It may also be overkill for what I Want > since I don't see my application going beyond one machine. I assume > having the job submission and execution on one machine is a triival case, no? > Ive only ever used it in a multi server scenario once - wehere we submitted jobs to SAP app servers. I have mostly used it in single server scenario > Let me see if I've got this right: my CGI script will create a batch > file ~/scripts/job1.sh containing the following > > #!/bin/bash > /usr/bin/perl FooBar.pl --arg1=foo --arg2 bar > > and then submit a job using the 'qsub' command which will run my script, > right? > > Thats pretty much it in a nutshell. There really is no overhead er... Limited and you can submit jobs to manager queues. If you are adverse to using this, you could also use cups or any print server as a job submission queue. Any one that will run scripts as a backend anyway. Ive done this a few times in AIX. Sounds hokey, but quite effective. You can use cron to bring certain queues up and down at certain times - and just let the jobs pile up. My suggestion: use Torque. Ted -- If you mess with a thing long enough, it'll break. -- Schmidt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/abe-pm/attachments/20080221/a94dd3ed/attachment.html From fiedlert at gmail.com Thu Feb 21 15:20:58 2008 From: fiedlert at gmail.com (Ted Fiedler) Date: Thu, 21 Feb 2008 18:20:58 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221172414.GB17388@neptune.faber.nom> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> <20080221045503.GA14558@neptune.faber.nom> <20080221150314.GA23948@knight.local> <20080221172414.GB17388@neptune.faber.nom> Message-ID: <814422ce0802211520q6f025fdcob9034c69fe319166@mail.gmail.com> On Thu, Feb 21, 2008 at 12:24 PM, Faber J. Fedor wrote: > > > Torque looks awesome if I had a cluster, which I [wd]on't but may be > easier to deal with than TheSchwartz just because of documentation. > USE TORQUE!!! Or Cups... Ted -- If you mess with a thing long enough, it'll break. -- Schmidt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/abe-pm/attachments/20080221/eb60717a/attachment.html From faber at linuxnj.com Thu Feb 21 15:52:03 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 21 Feb 2008 18:52:03 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <814422ce0802211520q6f025fdcob9034c69fe319166@mail.gmail.com> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> <20080221045503.GA14558@neptune.faber.nom> <20080221150314.GA23948@knight.local> <20080221172414.GB17388@neptune.faber.nom> <814422ce0802211520q6f025fdcob9034c69fe319166@mail.gmail.com> Message-ID: <20080221235203.GB18719@neptune.faber.nom> On 21/02/08 18:20 -0500, Ted Fiedler wrote: > On Thu, Feb 21, 2008 at 12:24 PM, Faber J. Fedor wrote: > > > > Torque looks awesome if I had a cluster, which I [wd]on't but may be > > easier to deal with than TheSchwartz just because of documentation. > > > > USE TORQUE!!! I will, if I can get the @#%^ thing to compile! And it just failed again. If I './configure; make' it fails with this error/warning multiple times: warning: passing arg 2 of `Tcl_Merge' from incompatible pointer type If I './configure --without-tclx; make' I get the same thing. If I './configure --without-tcl', it fails with checking for Tcl configuration... configure: error: no directory doesn't contain tclConfig.sh There is no tclx-devel for this box (RHEL 3), I've un/installed tclx. So tell me, Ted, how do I USE TORQUE?????? > Or Cups... The printing system? -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From faber at linuxnj.com Thu Feb 21 16:36:46 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 21 Feb 2008 19:36:46 -0500 Subject: [ABE.pm] tech meeting, march 5, BAPL In-Reply-To: <20080221235203.GB18719@neptune.faber.nom> References: <20080217024721.GA35262@knight.local> <20080221034647.GA20247@knight.local> <20080221045503.GA14558@neptune.faber.nom> <20080221150314.GA23948@knight.local> <20080221172414.GB17388@neptune.faber.nom> <814422ce0802211520q6f025fdcob9034c69fe319166@mail.gmail.com> <20080221235203.GB18719@neptune.faber.nom> Message-ID: <20080222003646.GA1332@neptune.faber.nom> Okay, cuz I know you're all dying to know... torque 2.2.1 has problems compiling on RHEL3. Falling back to version 2.1.10 allowed me to compile everything and even make RPMs. Yes, I still had to use the --without-tclx option with ./configure. On a more modern box (CentOS 5.0), the newest version of torque will successfully './configure --without-tclx ; make' but will not 'make rpm' because the latter program runs ./configure without the --without-tclx flag and we get the dreaded checking for Tcl configuration... configure: error: yes directory doesn't contain tclConfig.sh Tomorrow, we'll find out if the blasted things will install! On 21/02/08 18:52 -0500, Faber J. Fedor wrote: > On 21/02/08 18:20 -0500, Ted Fiedler wrote: > > On Thu, Feb 21, 2008 at 12:24 PM, Faber J. Fedor wrote: > > > > > > Torque looks awesome if I had a cluster, which I [wd]on't but may be > > > easier to deal with than TheSchwartz just because of documentation. > > > > > > > USE TORQUE!!! > > I will, if I can get the @#%^ thing to compile! > > And it just failed again. > > If I './configure; make' it fails with > this error/warning multiple times: > > warning: passing arg 2 of `Tcl_Merge' from incompatible pointer type > > If I './configure --without-tclx; make' I get the same thing. > > If I './configure --without-tcl', it fails with > > checking for Tcl configuration... configure: error: no directory doesn't > contain tclConfig.sh > > There is no tclx-devel for this box (RHEL 3), I've un/installed tclx. > > So tell me, Ted, how do I > > USE TORQUE?????? > > > > Or Cups... > > The printing system? > > -- > > Regards, > > Faber Fedor > President > Linux New Jersey, Inc. > 908-320-0357 > 800-706-0701 > > http://www.linuxnj.com > > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > ABE-pm mailing list > ABE-pm at pm.org > http://mail.pm.org/mailman/listinfo/abe-pm -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From perl.abe at rjbs.manxome.org Mon Feb 25 07:28:37 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Mon, 25 Feb 2008 10:28:37 -0500 Subject: [ABE.pm] amusing testing story Message-ID: <20080225152837.GA87308@68-30-60-108.area4.spcsdns.net> http://thedailywtf.com/Articles/Ive-Got-The-Monkey-Now.aspx -- rjbs From perl.abe at rjbs.manxome.org Wed Feb 27 13:03:08 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Wed, 27 Feb 2008 16:03:08 -0500 Subject: [ABE.pm] next meeting: Wednesday, March 5, BAPL Message-ID: <20080227210308.GA7778@knight.local> One week from today, the Bethlehem Area Public Library, same as January. Afterwards, maybe we'll try Brew Works or Rippers? I will talk about Stuff. I think you should expect a number of lightning talks on cool Perl stuff you should all be playing with. -- rjbs From faber at linuxnj.com Thu Feb 28 11:50:59 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 28 Feb 2008 14:50:59 -0500 Subject: [ABE.pm] perl debugging Message-ID: <20080228195059.GA2980@neptune.faber.nom> I've got a program that runs in about 30 seconds or so. Running it with 'perl -d' takes about ten minutes; I'm assuming it's all the JSON calls the debugger has to handle. I thought I saw somewhere where you can turn debugging on and off from within the program itself but I can't seem to find it. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From perl.abe at rjbs.manxome.org Thu Feb 28 12:20:38 2008 From: perl.abe at rjbs.manxome.org (Ricardo SIGNES) Date: Thu, 28 Feb 2008 15:20:38 -0500 Subject: [ABE.pm] perl debugging In-Reply-To: <20080228195059.GA2980@neptune.faber.nom> References: <20080228195059.GA2980@neptune.faber.nom> Message-ID: <20080228202038.GA15057@knight.local> * "Faber J. Fedor" [2008-02-28T14:50:59] > I've got a program that runs in about 30 seconds or so. Running it with > 'perl -d' takes about ten minutes; I'm assuming it's all the JSON calls > the debugger has to handle. Why is the debugger doing JSON calls that your program isn't? > I thought I saw somewhere where you can turn debugging on and off from > within the program itself but I can't seem to find it. If you set $DB::single=1, that will create a breakpoint. -- rjbs From faber at linuxnj.com Thu Feb 28 12:31:16 2008 From: faber at linuxnj.com (Faber J. Fedor) Date: Thu, 28 Feb 2008 15:31:16 -0500 Subject: [ABE.pm] perl debugging In-Reply-To: <20080228202038.GA15057@knight.local> References: <20080228195059.GA2980@neptune.faber.nom> <20080228202038.GA15057@knight.local> Message-ID: <20080228203115.GC2980@neptune.faber.nom> On 28/02/08 15:20 -0500, Ricardo SIGNES wrote: > * "Faber J. Fedor" [2008-02-28T14:50:59] > > I've got a program that runs in about 30 seconds or so. Running it with > > 'perl -d' takes about ten minutes; I'm assuming it's all the JSON calls > > the debugger has to handle. > > Why is the debugger doing JSON calls that your program isn't? My program is doing a bunch of JSON calls; I'm assuming the slowdown is because the debugger is handling all of them. > > I thought I saw somewhere where you can turn debugging on and off from > > within the program itself but I can't seem to find it. > > If you set $DB::single=1, that will create a breakpoint. That's what I was looking for! Thanks. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.