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
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,
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
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
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
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.
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
&
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
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
> 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
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
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
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
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
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
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
> "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
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
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
--
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
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
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
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
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[^()]+<\/
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+)
:[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
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/>
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
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
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
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
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
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.
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
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
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
>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
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
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
.--[ 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
How do you monitor and change the "nice" value of your program? I'm running RH Linux
7.3. Thanks!
Jessee
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
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
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,
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
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
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,
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
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
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
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
> -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
>-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
&
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
>
54 matches
Mail list logo