Hi,
I have a script that opens a file and needs to grab certain values from it.
Can anyone recommend a good file tokenizing module? Thanks.
-Jose
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have a question about the Net::FTP library, specifically about the rmdir
method. I'm trying to delete a directory, foo, that contains several Word
files and also a bar directory that itself contains several word files. How
can I do this with the Net::FTP library?
Normally, from the command
Hi,
For those familar with the Net::FTP library, I have a question about one of
the methods, ls(). An example call is:
@allDirs = $ftp->ls()
This seems like a pretty straightforward method, it returns an array
populated with the results of an "ls" call
within the current directory of the $ftp
Hi,
If I'm calling the diff program from within a Perl script with something
like:
system("diff file1.txt file2.txt");
how can I detect if there is a result or not, since if the files are
identical, diff
doesn't have any output? I need to be able to be able to determine if there
was any output
AIL PROTECTED]]
Sent: Wednesday, May 29, 2002 10:27 AM
To: Torres, Jose; '[EMAIL PROTECTED]'
Subject: RE: iterating over the contents of a directory
check out opendir readdir and closedir.
> -----Original Message-
> From: Torres, Jose [mailto:[EMAIL PROTECTED]]
> Sent: Wednesd
Hi,
How can I simply iterate over the contents of a directory? I want to perform
a certain
action when I locate a particular text file. Thanks.
-Jose
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
code. Any ideas? Is there a method that will execute code in the location
specified by a previous call to chdir (as is the case here)? Thanks for your
help.
> -Original Message-
> From: Torres, Jose
> Sent: Thursday, May 23, 2002 12:03 PM
> To: '[EMAIL PR
what Perl function can I used to invoke something usually done at the
command line?
I want to execute:
sum * > SNP/020405/foo.txt
this will call checksum on everything and output to foo.txt in /SNP/020405.
Problem is, the * will sum all files in the current directory, not those in
SNP/020405. So
Thanks everyone for your help. It is much appreciated.
-Original Message-
From: David vd Geer Inhuur tbv IPlib
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:39 PM
To: [EMAIL PROTECTED]; Torres, Jose
Subject: Re: command-line commands within a Perl script
Hi,
A possible
Hi,
I have a directory with several subdirectories, each full of several dozen
Word files. For each subdirectory, I need to run the checksum app against
all of that directory's files and output a file into that directory with the
checksum results. How can I do this? I'm very unfamilar with runni
Can the get function in Net::FTP be used to get an entire directory? I know
the get function is used to retrieve a single file, but I need to retrieve
an entire directory. How can this be done? Thanks.
-Jose
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
In the code below, is there a Perl built-in function to pass $DAY into
so that a "9" comes out "09"? I need digits from 1 to 9 to be of the form
01, 02, etc. Ideas? Thanks.
-Jose
-Original Message-
From: Shinagare, Sandeep [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001
Hi,
How do you traverse Windows directories in Perl? Let's say J:\foo\bar\logs
has a variable number of folders, each of which I want to look into for a
specific file. How would I do this? Thanks for all help.
-Jose
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
All I can say is
THOSE WHO CAN DO
THOSE WHO CAN'T TEACH.
NUFF SAID
Jose A. Torres
BUCS Global Production Support
(212) 670-3874 - Office
(800) 774-4156 - Pager
(914) 632-4630 - Home
> -Original Message-
> From: jim-ryan [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 1:02 PM
SET HEADING OFF PAGESIZE 0 FEEDBACK OFF
This will output only the result of 513
Jose A. Torres
BUCS Global Production Support
(212) 670-3879 - Office
(800) 774-4156 - Pager
(914) 632-4630 - Home
> -Original Message-
> From: Yacketta, Ronald [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, Au
How do I populate a Hash array with 3 fields from the result of an sql statement.
(i.e. SELECT ORIGIN, DEPT, COUNT(*) FROM TBL WHERE DATE= GROUP BY ORIGIN, DEPT
Any ideas are appreciated.
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
16 matches
Mail list logo