andrew Black wrote:
Roger Keane wrote:
IMO: prefer File::Find with a regex instead of globbing if you just
want to get the files from a directory tree.
I think you are right here. But there are 2 (at least) different
circumstances
- want to write a filter that takes one or more file (maybe
Rahul Chauhan wrote:
andrew,
if you are using paths,
1. escape the directory separator
2. and if the folder names have a space, use the dos 8.3 format.
as in
glob "C:\\Docume~1\\BlackA\\*.txt";
cheers,
-Original Message-
From: andrew Black [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 1
Craig Cardimon wrote:
I'm searching large ASCII files for keywords. The keywords are part of
section headings. These headings are in all caps on lines by themselves.
The files sometimes contain HTML tags. My logic handles this well
enough, but combs through the HTML very slowly. I'm dealing with
Lyle Kopnicky wrote:
Well, it doesn't work for me. It's the same as not using it - I get no
output in my log file. Not very useful. :(
As $Bill often says...
need ... more ... code!
Do you have a short example that demonstrates your problem?
___
Perl
3.84 usr + 0.00 sys = 3.84 CPU) @
1300728.41/s (n=500)
RE: 4 wallclock secs ( 2.62 usr + 0.00 sys = 2.62 CPU) @
1905487.80/s (n=500)
Rate OR RE HL
OR 1300728/s -- -32% -88%
RE 1905488/s 46% -- -83%
HL 1103
[EMAIL PROTECTED] wrote:
# Hi,
# Question. Easy way of using module Env, platform independent.
# Want to do the following: (example)
# 1. get the PATH environment variable
# 2. change it to add an additional search path
# 3. put back the modified PATH
# 4. execute a program/script using the system
Jutu Subramanian, Srinivasan (Cognizant) wrote:
>
> Hi,
> I need to execute a perl application from one perl application.
> I should do with fork and exec. The execution of another one perl application is the
independent
> to the parent process.So, I don't want to use wind32::CreateProcess.
Using
Jeremy A wrote:
> Hello all,
>
> i am beginning to find linux/windows socket communication just drives me
> crazy! i'll have to visit the funny farm, lol !
For a good example of socket programming with plenty of discussion,
see chapter 13 of Advanced Perl Programming:
http://www.amazon.com/ex
Carl Jolley wrote:
> On Thu, 3 Apr 2003, Daniel Gross wrote:
>
> > Hello,
> >
> > I am trying to find all files that have zero size, but it doesn't work
> > -- why?
> >
> >
> > my @tmpArray = glob("$dirName/*.tif");
> > my @zeroFiles = getZeroSizeTiffs(@tmpArray);
> >
> > sub getZeroSizeTiffs {