Hello Everyone,
Here is the final code for my replacement script. I am about to test it out but I
think it will work. Thanks to all who helped!!
#!/usr/bin/perl -w
use File::Find;
my $FileCount = 0;
my $LineCount = 0;
sub process_files {
my $FinalString = "";
my $ConvertedText = "";
Hello Again All,
Perhaps if you all saw my logic during this script it would help you understand what I
am trying to do and maybe see a bit better what is failing. Here is my code again, but
fully commented...
Thanks!
Anthony
my $PNdString = ""; # Setting it to blank
sub process_files{
#
structure this statement? Also, what
tool are you using to evaluate the code? I'm using Visual SlickEdit but it
would be nice to be able to do something like what you just did.
Thanks!
Anthony
- Original Message -
From: "Nikola Janceski" <[EMAIL PROTECTED]>
To: "
Good Morning Everyone,
Got another question: I wrote my first Perl script last night and it seemed to be
error free on Windows. But when I uploaded it to Linux (RH 7.3) it threw an error that
I don't understand. From a Google search it seems there could be a number of problems
and I am not exp
print(OUTFILE, "$PNdString\n");
This is line #19 in my code. When I run it I am told I cannot have a coma after the
filehandle. Why not?? I thought this was standard Perl syntax?
Anthony
Just wanted to take the time to thank everyone who offered their help to me today in
response to my silly questions. I leared a LOT about Perl today and the more I learn
the more I like it. Thanks again!!
Anthony
Hello AGAIN,
I have one final question that I think will set me free from this coding haze I've
been in all day. Please look at the code below. Here is the idea I am trying to
implement:
I have a text file with a list of about 56,000 filenames. Only the filenames are in
this file. I have ano
Hello Again Everyone,
I do apologize for all the newbie questions but I really have to get this program
written today and this list is my only "live" resource besides Google. I'll try to
keep my questions to a minimum. But here is one more if you don't mind.
1. How do I ignore case in my prog
can't seem to find a way to do this. I know how to get all files
within a directory but how do I RECOGNIZE my directories so I can descend into them to
index?
Thanks in Advance,
Anthony Saffer