I haven't tried, but couldn't you do this with an eval statement?
if(eval{$ARGV[0]}) print "match found!\n";
-Original Message-
From: John W. Krahn
To: [EMAIL PROTECTED]
Sent: 10/20/02 5:28 PM
Subject: Re: parsing variable that contains a regex ("/findme/")
K Pfeiffer wrote:
>
> Hi y'a
Hi y'all,
Some guidance and edification would be most appreciated.
I have two files, built the same way:
File1
File2
Col1Col2Col3Col4 Col1Col2
Col3Col4
222 rrrF;R 222
rrr 1;2;3111
K Pfeiffer wrote:
>
> Hi y'all,
Hello,
> I have a little script that lets me test some regexes. For example at the
> prompt I type in: "\b(The|the)\b". I thought it would be better if I could
> also include the slashes and then modifiers such as 'g' and 'i':
> "/\bthe\b/i" (for example).
>
> So
Good Afternoon list!
I'm look around for understand the techniques to manipulate hardware
address of ethernet adpter and so know how people do cache poisoning for
attack of type "man in the middle".
Somebody know how perl manage those types of devices? and which modules
if exist I need to know
hello,
i would like to upgrade perl to 5.8.0
i currently have 5.6.1
i use redhat and perl was originally installed as a precompiled binary
(.rpm)
i started out with 5.6.0
and somehow it got updated to 5.6.1
maybe i updated the .rpm or it could have happened with CPAN?
i have use 'perl -MCPAN -
The answer for the first question is, the scripts that use sos.pl do it
using a "require", so they can determine (at run-time) the directory from
which to require it, something like:
if ($a) {
require "$a/sos.pl";
} else {
require "$b/sos.pl";
}
sos.pl itself uses "use Module;", so
Thought there is some easy way bu could not find.
Thanks!
Jack
Jack Chen, Stein Lab, Cold Spring Harbor Labs
1 Bungtown Road, Cold Spring Harbor, NY, 11724
Tel: 1 516 3676904; e-mail: [EMAIL PROTECTED]
Hi y'all,
Some guidance and edification would be most appreciated.
I have two files, built the same way:
File1
File2
Col1Col2Col3Col4 Col1Col2
Col3Col4
222 rrrF;R 222
rrr 1;2;3111
Hi y'all,
I have a little script that lets me test some regexes. For example at the
prompt I type in: "\b(The|the)\b". I thought it would be better if I could
also include the slashes and then modifiers such as 'g' and 'i':
"/\bthe\b/i" (for example).
So I modified it as below:
---
m
>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' for monitoring.
And to c
And if you're really stuck with using arrays, you can always:
my @bases = ();
my $first = 0;
$bases[$first] = 'who';
-Original Message-
From: Johnstone, Colin
To: 'chris'
Cc: '[EMAIL PROTECTED]'
Sent: 10/19/02 5:47 PM
Subject: RE: A better way to handle array index?
That would be a ha
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/Process.pm
Only you'll be using
Hi,
Can someone please point out where my reasoning is flawed
concerning base64 encoding.
A question recently came up in the Tk newsgroup on how to
display a jpg image with Tk, directly from a url.
I could easily do it if I mirrored a temporary jpg file on the local
harddrive, then displayed it;
Actually the problem was the following:
I had wanted to set the array to NULL.
I set it as follows:
@array="";
This puts an empty string as the first array value.
the correct way is:
@array=();
Solved my problem.
-Original Message-
From: Beau E. Cox [mailto:beau@;beaucox.com]
Sent: Th
On Fri, Oct 18, 2002 at 10:07:20PM -0400, chris wrote:
> Can I use wildcard to create a bigfile?
>
> # cannot open file
> perl -pei *.txt > bigfile
The line you're using doesn't make any sense. You might need to elaborate
on what exactly you're trying to accomplish. However, if all you're tryin
15 matches
Mail list logo