Re: sure would be nice if Perl had trace command built-in

2015-12-22 Thread Dermot
I tend to use Strawberry perl these days and would certainly recommend it. Regarding the file paths you mentioned, the double back slash is correct but also difficult to read. I change my windows scripts to use File::Spec paths whenever I have to revisit them. This makes paths portable and easy on

Re: sure would be nice if Perl had trace command built-in

2015-12-12 Thread Mike Flannigan
On 12/10/2015 5:40 AM, beginners-digest-h...@perl.org wrote: On Mon, Dec 7, 2015 at 6:33 PM, Brock Wilcox wrote: >Give devel::trace or devel::tracemore a try:) Is it possible to install this from Active State repository without having an-up-date ActiveState Perl DevKit license? Thanks,

Re: sure would be nice if Perl had trace command built-in

2015-12-08 Thread Ken Slater
dead code and duplicate code. There are weird dependencies here > > and there on Cygwin. Apparently there was an earlier (still present?) > > dependency on MKTools. Some scripts need to be modified prior to > > first build on a new branch. The builds sometimes work fine and &g

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Kenneth Wolcott
On Mon, Dec 7, 2015 at 6:41 PM, Brock Wilcox wrote: > I don't know. But I think that worst case you can just download the single > file from this library and add it to your application directly. It requires > no compilation or anything. > > https://metacpan.org/source/MJD/Devel-Trace-0.12/Trace.pm

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Brock Wilcox
I don't know. But I think that worst case you can just download the single file from this library and add it to your application directly. It requires no compilation or anything. https://metacpan.org/source/MJD/Devel-Trace-0.12/Trace.pm --Brock On Mon, Dec 7, 2015 at 9:39 PM, Kenneth Wolcott wr

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Kenneth Wolcott
On Mon, Dec 7, 2015 at 6:33 PM, Brock Wilcox wrote: > Give devel::trace or devel::tracemore a try :) Is it possible to install this from Active State repository without having an-up-date ActiveState Perl DevKit license? Thanks, Ken Wolcott -- To unsubscribe, e-mail: beginners-unsubscr...@perl.

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Kenneth Wolcott
there was an earlier (still present?) > dependency on MKTools. Some scripts need to be modified prior to > first build on a new branch. The builds sometimes work fine and > sometimes fail in strange ways. > > It would be nice if there was a trace facility built-in to Perl that &

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Brock Wilcox
s here > and there on Cygwin. Apparently there was an earlier (still present?) > dependency on MKTools. Some scripts need to be modified prior to > first build on a new branch. The builds sometimes work fine and > sometimes fail in strange ways. > > It would be nice if there w

sure would be nice if Perl had trace command built-in

2015-12-07 Thread Kenneth Wolcott
o first build on a new branch. The builds sometimes work fine and sometimes fail in strange ways. It would be nice if there was a trace facility built-in to Perl that I could enable that would tell me each line number of each script that was currently executing. I'd love to replace al

Re: Meta: "Nice" Perl?

2010-04-22 Thread Owen
> Hi, > > I wonder if some of you are in the same situation like me: I am the > only > Perl programmer in the company, at least trying hard to get along :-), > but I have nobody to ask for help. So I spend hours and hours with my > book and the internet when I'm stuck. Luckily, so far I almost alw

Re: Meta: "Nice" Perl?

2010-04-22 Thread Shlomi Fish
On Thursday 22 Apr 2010 12:38:39 HACKER Nora wrote: > Hi, > > I wonder if some of you are in the same situation like me: I am the only > Perl programmer in the company, at least trying hard to get along :-), > but I have nobody to ask for help. So I spend hours and hours with my > book and the int

AW: Meta: "Nice" Perl?

2010-04-22 Thread Thomas Bätzler
HACKER Nora asked: > I wonder if some of you are in the same situation like me: I am the > only Perl programmer in the company, at least trying hard to get > along :-), but I have nobody to ask for help. So I spend hours and > hours with my book and the internet when I'm stuck. Luckily, so far > I

Re: Meta: "Nice" Perl?

2010-04-22 Thread Rob Coops
and one ways to get things done, and most of them are not horribly bad. My biggest problem is that "The Internet" is not just a source of infinite knowledge but also of some horrible code that even though it works is usually not a very nice way of getting things done. It seems like a lot of th

Re: Meta: "Nice" Perl?

2010-04-22 Thread Rene Schickbauer
HACKER Nora wrote: Hi, I wonder if some of you are in the same situation like me: I am the only Perl programmer in the company, at least trying hard to get along :-), but I have nobody to ask for help. So I spend hours and hours with my book and the internet when I'm stuck. Luckily, so far I alm

Meta: "Nice" Perl?

2010-04-22 Thread HACKER Nora
Hi, I wonder if some of you are in the same situation like me: I am the only Perl programmer in the company, at least trying hard to get along :-), but I have nobody to ask for help. So I spend hours and hours with my book and the internet when I'm stuck. Luckily, so far I almost always accomplish

Re: nice regular expression

2006-10-14 Thread I . B .
1. one of the purposes of scripting languages is creating prototype. 2. as i explained before my job is to create this perl regular expression. Which will be used in xml file. I dont care about clients apps, they can be written on any language. I use perl. 3. also i greatly appreciate help of this

Re: nice regular expression

2006-10-14 Thread Randal L. Schwartz
> "I" == I B <[EMAIL PROTECTED]> writes: I> unfortunately I have to use regex to solve this problem. Why? Is this homework? Or is this a Java question in disguise? Either of those are rude, having conned people into helping you for false pretenses. -- Randal L. Schwartz - Stonehenge Consu

Re: nice regular expression

2006-10-13 Thread I . B .
got it! very nice, not complicated at all. I didn't know about lookahead feature. very useful. this file that should be matched: row 1 row 2 row 3 Bug some word row 4 row 5 this is file that should not be matched: row 1 row 2 row 3 Bug some word row 4 row 5 row 6 th

Re: nice regular expression

2006-10-13 Thread Paul Johnson
On Fri, Oct 13, 2006 at 12:36:33PM -0500, Charles K. Clarkson wrote: > I.B. wrote: > > : unfortunately I have to use regex to solve this problem. > > Why do you have to use a regex? Because that is what the question stipulates. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net --

Re: nice regular expression

2006-10-13 Thread Mumia W.
On 10/13/2006 12:14 PM, I.B. wrote: this is the problem: use regular expressions to prove that word "Bug" is in the 3 row from the end of table in the html tagged file: shell> cat file1.txt [...] Don't use regular expressions to parse HTML. Use an HTML parsing module to parse HTML. Now to

RE: nice regular expression

2006-10-13 Thread Charles K. Clarkson
I.B. wrote: : unfortunately I have to use regex to solve this problem. Why do you have to use a regex? Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 Don't tread on my bandwidth. Trim your posts. -- To unsubscribe, e-mail: [EMAIL PROTE

Re: nice regular expression

2006-10-13 Thread I . B .
this is the problem: use regular expressions to prove that word "Bug" is in the 3 row from the end of table in the html tagged file: shell> cat file1.txt row 1 row 2 row 3 Bug some word row 4 row 5 shell> shell> cat file2.txt row 1 row 2 row 3 Bug some word row 4 row 5 row 6

Re: nice regular expression

2006-10-13 Thread I . B .
thank you for reponse! unfortunately I have to use regex to solve this problem. I was trying to simplify: $file=~/.+Bug.+<\/tr>\s*.+<\/tr>\s*.+?<\/tr>\s*.+?<\/tr>\s*<\/table>/; still does not work!!! On 10/12/06, Dr.Ruud <[EMAIL PROTECTED]> wrote: I . B . schreef: > i have a task to ve

Re: nice regular expression

2006-10-12 Thread Dr.Ruud
I . B . schreef: > i have a task to verify that word "Bug" is in the table in the 3rd > row from the buttom, i came up with regex , but it doesnt work. > can anyone please take a look? > > #/usr/bin/perl -w Get rid of the "-w" and insert use warnings; use strict; > [...] > /(.+Bug[^()]+<\/

nice regular expression

2006-10-12 Thread I . B .
Hi folks, i have a task to verify that word "Bug" is in the table in the 3rd row from the buttom, i came up with regex , but it doesnt work. can anyone please take a look? #/usr/bin/perl -w my $line = "\nA\nBug\nC\nD\n"; print "3 matches: $1\n" if ($line =~ /(.+Bug[^()]+<\/tr>)\s*(.+<\/tr>\s+)

RE: Does any one have nice programs for PERL AJAX

2006-06-21 Thread Nagasamudram, Prasanna Kumar
:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 2:27 PM To: beginners@perl.org Subject: Does any one have nice programs for PERL AJAX Hi I searched out in the Google and all for some nice Ajax Programs with the perl template toolkit and all.Can any one mail me the programs. Thanks Anish -- To

Does any one have nice programs for PERL AJAX

2006-06-21 Thread Anish Kumar K.
Hi I searched out in the Google and all for some nice Ajax Programs with the perl template toolkit and all.Can any one mail me the programs. Thanks Anish -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>

RE: can anyone tell me the nice site to learn Perl Automation

2005-12-14 Thread Timothy Johnson
It depends on exactly what you mean by Automation. What are you trying to do? -Original Message- From: Anish Kumar K. [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 10:49 PM To: beginners@perl.org Subject: can anyone tell me the nice site to learn Perl Automation Hi

can anyone tell me the nice site to learn Perl Automation

2005-12-14 Thread Anish Kumar K.
Hi Can anyone tell me a nice site to learn perl automation. Scripts also will be fine. I searched in some sites but was not quite useful.. Thanks Anish

Re: nice low cost ISP with support for mod_perl, any suggestions

2005-09-06 Thread Wiggins d'Anconia
Adriano Ferreira wrote: > I am on the verge of trying to deploy a small web application for > small business. I would like to see it working preferably under > mod_perl. Does anyone has suggestions about possible providers with a > good compromise between service quality and cost? As it is directe

nice low cost ISP with support for mod_perl, any suggestions

2005-09-05 Thread Adriano Ferreira
I am on the verge of trying to deploy a small web application for small business. I would like to see it working preferably under mod_perl. Does anyone has suggestions about possible providers with a good compromise between service quality and cost? As it is directed to small business, it won't be

Re: Can Perl 'nice' a process?

2005-03-05 Thread Gerhard Meier
On Fri, Mar 04, 2005 at 02:31:11PM -0600, Dave Kettmann wrote: > Im sure Perl can nice a process but I guess I dont know what > the correct term is. I guess if I just start with the correct > term I can discover how to use it. Then again, I may just have to > 'nice' it in

Re: Can Perl 'nice' a process?

2005-03-04 Thread John W. Krahn
Dave Kettmann wrote: Im sure Perl can nice a process but I guess I dont know what the correct term is. I guess if I just start with the correct term I can discover how to use it. Then again, I may just have to 'nice' it in the shell. There is nothing built in to Perl that will do this.

Can Perl 'nice' a process?

2005-03-04 Thread Dave Kettmann
Im sure Perl can nice a process but I guess I dont know what the correct term is. I guess if I just start with the correct term I can discover how to use it. Then again, I may just have to 'nice' it in the shell. Any help is appreciated. Thanks, Dave Kettmann NetLogic 314-266

Re: Make a nice buffer?

2004-03-26 Thread Gary Stainburn
On Thursday 25 March 2004 10:30 pm, David Busby wrote: > List, > I want to make a buffer for my application to write log data to. I've > created a fifo (`mkfifo /tmp/buf`) Then I made my PERL script that > reads from /tmp/buf. Other programs open and write to /tmp/buf but when > they close the

Make a nice buffer?

2004-03-25 Thread David Busby
List, I want to make a buffer for my application to write log data to. I've created a fifo (`mkfifo /tmp/buf`) Then I made my PERL script that reads from /tmp/buf. Other programs open and write to /tmp/buf but when they close then my program that is reading from /tmp/buf stops. I want the scr

Re: Nice

2002-10-20 Thread Larry Coffin
>Well as for monitoring, the nice value will not change unless it is >reset by a user. As for setting it you'll want to look into the > program /bin/nice. Also, look into 'renice' to change the priority of a running process, and look into 'top

Re: Nice

2002-10-20 Thread Peter Scott
In article <006401c276db$8fe09250$0300a8c0@jessee>, [EMAIL PROTECTED] (Jessee Parker) writes: >How do you monitor and change the "nice" value of your program? I'm = >running RH Linux 7.3. Thanks! http://search.cpan.org/author/DURIST/Proc-ProcessTable-0.35/Process/Proce

RE: Nice

2002-10-18 Thread Kipp, James
man nice > -Original Message- > From: Jessee Parker [mailto:jparker@;presslaff.com] > Sent: Friday, October 18, 2002 3:22 PM > To: [EMAIL PROTECTED] > Subject: Nice > > > How do you monitor and change the "nice" value of your > program? I'm

Re: Nice

2002-10-18 Thread Frank Wiles
.--[ Jessee Parker wrote (2002/10/18 at 12:21:30) ]-- | | How do you monitor and change the "nice" value of your program? | I'm running RH Linux 7.3. Thanks! | `- Well as for monitoring, the nice value will no

Nice

2002-10-18 Thread Jessee Parker
How do you monitor and change the "nice" value of your program? I'm running RH Linux 7.3. Thanks! Jessee

Task::Scheduler << Nice Windows module >>

2002-03-22 Thread Mike Rapuano
HI all -- Awhile ago I posted a question about accessing Windows Task Scheduler from Perl. Unfortunately, I didn't get a response. Anyways, I found a nice module and wanted to let everyone know incase someone wanted to use Task Scheduler from perl. http://taskscheduler.sourceforge.net

RE: nice, perl, fork and exec

2002-03-19 Thread Richard Smith
In *nix, he child process inherits the nice value of the parent process, and, unless the process owner is the super-user, the child process cannot be given a higher priority. This would also apply to calls to system() and backticks, since they all basically use the same mechanism. It also

RE: nice, perl, fork and exec

2002-03-19 Thread Nikola Janceski
thanks for that sample code. I added a little more to try it with multiple child processes. It turns out that the nice carries over to all the child processes on my solaris box. > -Original Message- > From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19,

nice, perl, fork and exec

2002-03-19 Thread Nikola Janceski
I know this is going to sound like a Unix question, but... If I run a perl script with nice, (in Unix it reprioritizes the process), and fork in perl and run an exec "command" with the child, does the nice priority apply to the child process also? and what about the exec of the chi

Re: Making Cygwin and Apache and Perl Play Nice

2002-01-01 Thread Sumit_Babu
Hi, RSC> Here's the problem. When I run Perl scripts under win2k, I have to include RSC> this as the first line of each CGI script: RSC> #! c:/perl/bin/Perl.exe RSC> But when I run them under Linux, I have to include this: RSC> #!/usr/bin/perl well if ur running Apache fro

Re: Making Cygwin and Apache and Perl Play Nice

2001-12-31 Thread Maxim Berlin
Hello Richard, Monday, December 31, 2001, Richard S. Crawford <[EMAIL PROTECTED]> wrote: RSC> Here's the problem. When I run Perl scripts under win2k, I have to include RSC> this as the first line of each CGI script: RSC> #! c:/perl/bin/Perl.exe RSC> But when I run them under Linux,

Making Cygwin and Apache and Perl Play Nice

2001-12-30 Thread Richard S. Crawford
I've got Perl installed twice on my Windows 2000 computer... one is an installation of ActivePerl and the other is a regular installation of Perl that came with my Cygwin installation. My computer is a dual-boot machine; in the first partition, of course, I have Win2K running; in the other, RH

FW: Perl, Nice, and CPU Usage

2001-05-14 Thread John Peterson
0% CPU time and everything ran ok > then I should be ok. > > One question about using nice. Right now I've tried including it in my > Perl script like this: > > #!/bin/nice /usr/local/bin/perl > > I don't get any errors and everything runs ok. M

RE: Perl, Nice, and CPU Usage

2001-05-14 Thread blowther
Perhaps the perl benchmarking would help out with this unit testing. perldoc Benchmark -Original Message- From: John Peterson [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 10:11 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: Perl, Nice, and CPU Usage

RE: Perl, Nice, and CPU Usage

2001-05-14 Thread John Peterson
Thanks for your help! I'll do a lot of testing. > -Original Message- > From: Brett McCoy [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 10:13 AM > To: 'John Peterson' > Subject: RE: Perl, Nice, and CPU Usage > > >-Original Mess

RE: Perl, Nice, and CPU Usage

2001-05-14 Thread John Peterson
> -Original Message- > From: John Peterson > Sent: Monday, May 14, 2001 9:59 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Perl, Nice, and CPU Usage > > Because this is on a test box there is nothing else running at the time. > The intenti

RE: Perl, Nice, and CPU Usage

2001-05-14 Thread Brett McCoy
>-Original Message- >From: John Peterson [mailto:[EMAIL PROTECTED]] >Sent: Monday, May 14, 2001 11:30 AM >To: '[EMAIL PROTECTED]' >Subject: Perl, Nice, and CPU Usage > > >> My question: Is this normal? If I use a Nice command in my >Perl program &

Perl, Nice, and CPU Usage

2001-05-14 Thread John Peterson
CPU time prior to running is > at 100%. The CPU idle time drops to 0% for approximately 12 seconds, while > the report is running. > > My question: Is this normal? If I use a Nice command in my Perl program > and set my priority at a higher number will this be ok to run on a >