On Tue, 9 Oct 2001, Mark Remesnitskiy wrote:
> Hi,
>
> unfortunately this doesn't solve the problem.
> if
> $iPageLineQty = $#Page+1 really give different number than $iPageLineQty = @Page +
>1,
> scalar(@Page) gives:
> scalar(
> any way I get message:
> Use of uninitialized value in p
Change it to the following to get a better idea of what the File::Find
function does:
use File::Find;
@files = (".");
find (\&wanted, @files);
sub wanted
{
print "Found $_\n";
}
You'll just need to put whatever filter you want in place in the wanted
function.
-Original Me
A number of people have sent me email mentioning that
the docs contain all. Please stop. It is quite
obvious that I didn't understand the docs. I am so
sorry that I bothered everyone on the list with my
trivial question.
=
Jeffrey
[EMAIL PROTECTED]
_
I read the docs, but they were not clear. For Perl
gurus the wanted function declared in the docs might
make sense, but I had no idea what was going on. As I
mentioned, the docs are less than adequate.
Thanks - I think I can get it to work now.
--- "Rubinow, Larry" <[EMAIL PROTECTED]>
wrote:
>
Jeffrey wrote:
> The code that I am working with is simple:
>
> use File::Find;
>
> find (\&wanted, "*.txt"); #various patterns tried here
>
> sub wanted
> {
> print "Found $_\n";
> }
Have you read the docs on File::Find?
You don't specify a pattern in the find() call, you specify a pa
The code that I am working with is simple:
use File::Find;
find (\&wanted, "*.txt"); #various patterns tried here
sub wanted
{
print "Found $_\n";
}
=
Jeffrey
[EMAIL PROTECTED]
__
Do You Yahoo!?
N
I am trying to search through a directory stucture to
find particular files. I think that the module
File::Find is what I am looking for, but the
documentation is less than adequate.
I can't get it to work at all -- I continually get an
error "Can't stat txt: No such file or directory"
where t
Hi I made a perl TK program Which have a progress bar that can show what there
is in a log file but my problem is that to update this progress bar I must
destroy it and then redraw it to make growing the progress bar.
I wanted to know if it is possible to watch the log file if there is no ftp
I was able to resolve the problem with two flags in the makefile.pl
-TP and -GX
I think the -TP tells perl that it is c++ code.
I don't know what -GX does.
Kevin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 08, 2001 3:57 PM
To: [EMAIL PROT
It
looks like you need to use a case insensitive pattern match in your
subroutine.
for
(sort(/^$filename/, readdir(WD)))
{ if(/^$filename/i)add
the i where I've put it in bold {
$filefound =
"True"; } }
-Original Message-From:
[EMA
Stephen thank you for your reply i changed it and its
still having problems
The directory
contains files like this
ZQ648d - this
will work
Zq6488 -
won't
When i pass
in ZQ648d - it will find ZQ648d but when i pass in the filename ZQ6488 - it
won't fin
File uploads are part of the standard CGI module. Search for " CREATING
A FILE UPLOAD FIELD" in the CGI docs.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
Christopher: I hope you don't mind, but I'm CC'ing my response to the list,
since it has some links others might find useful...
> but the OLE interface to Word (heck, the OLE
> interface to anything) seems so hard to me to
> completely identify.
Agreed, I guess anything in any language or
On Tuesday 09 October 2001 9:26 am, Margaret Quinn wrote:
> Hi all,
>
> I am trying to read a directory and find a file named ZQ3709.ZQ (client
> win95) but this file appears in the windows directory as Zq3709.zq -
> apparently this is the windows naming standard - when i run the function
> below
Hi
all,
I am trying to read
a directory and find a file named ZQ3709.ZQ (client win95) but this file appears
in the windows directory as Zq3709.zq - apparently this is the windows naming
standard - when i run the function below - it will not find this file.
However if
On Friday 05 October 2001 5:59 pm, Frazier, Joe Jr wrote:
> How do I transform HTML to text content? I KNOW I have seen a method to
> do this, but dont remember what module it is in. I checked a few and
> did not seem to find. It would also be nice if it had the ability to
> maintain layout( ie.
16 matches
Mail list logo