At 03:08 PM 4/18/2001, you wrote:
>I wrote this code to email me attachments of any files found at a certain
>ftp site. It works but... since I'm new at Perl I know there's got to be a
>better way. In particular the handling the file transfer by parsing out the
>output from DIR seems hinky. Le
At 02:44 PM 4/18/2001, you wrote:
>I have their full name and path. The only thing I know is they end with
>"09.html". Is perl the right tool to use to find all my 09 files and place
>their fully qualified names in a file?
>
>If I can get all my 09 filenames in a file, reading them in and parsin
I wrote this code to email me attachments of any files found at a certain
ftp site. It works but... since I'm new at Perl I know there's got to be a
better way. In particular the handling the file transfer by parsing out the
output from DIR seems hinky. Let me know if you can help.
#!c:\perl\p
I am running perl5 on Windows 98. I have a directory (C:\Data2000, 20+
Gbytes) full of numerous subdirectories full of (several hundred thousand)
files. I want to parse out some data from certain files and I can easily if
I have their full name and path. The only thing I know is they end wit
At 02:16 PM 4/18/01 -0400, you wrote:
>one more question -- yes, the db files WERE created on another machine,
>but the "file" command shows them as being Berkeley DB format files,
>correctly But I think I will go with trying to re-create... thanks for
>the pointer.
Then that's my prime su
At 12:43 PM 4/18/01 -0400, Kat wrote:
>*sigh*
>
>I have changed the script to include -w, but not strict.
Keep going :-) Trust me, once you get used to putting use strict in your
programs you will wonder how you ever got along without it.
> HOWEVER, if I change the error routine to a "die "m
*sigh*
I have changed the script to include -w, but not strict. HOWEVER, if I
change the error routine to a "die "message $!" " I do not even get a
STATUS??!?! It is blank.
BUT, to make matters even more fun, if I DELETE the existing db file and
then change the tie to include O_CREAT | O_
At 08:19 AM 4/18/01 -0400, Kat wrote:
>Ok, I have exhausted all other options. This code used to work, and now,
>no matter what I use for a path, I always get an error opening the file...
>Does anyone see anything obvious here in this snippit??
Not related to not being able to open the databas
make sure that the directory you have the script in is
in your path.
try this:
echo $PATH
and you should see all the directories your shell
looks for executables in. The easist way to solve your
problem is to move your script to something like
/usr/local or one of the obvious directories listed
> So your saying that Perl can handle calculating cosine while iterating
> through Pi?
Hmm, where did I mention Pi or cosines anywhere in my answer?
I am simply trying to help out beginners and tackle common programming
tasks that can be done in more of a Perl-ish way.
If you want to show a wa
On Wed, Apr 18, 2001 at 12:37:54PM +0500, arfan wrote:
: dear all ;
: i have a html file in my /home/arfan and want to watch it in my
: browser (netscape).
: hoping reply
: arfan
arfan,
This isn't a Perl issue at all. I'm sorry but this is the wrong place
for help on this issue.
Check go
Ok, I have exhausted all other options. This code used to work, and now,
no matter what I use for a path, I always get an error opening the file...
Does anyone see anything obvious here in this snippit??
#!/usr/bin/perl
#This script will return quiz responses to a browser. It reads from a qui
dear all ;
i have a html file in my /home/arfan and want to watch it in my
browser (netscape).
hoping reply
arfan
13 matches
Mail list logo