were
using an older version 5.004 on sun os, sun4x_55. I tried the same script using
perl5.87 (latest version we had) and it worked!!
Thanks a lot for your help.
Regards,
Anu.
From: Robert Citek
To: Perl Beginners
Cc: Anu P ; John Refior
Sent: Thursday, July
Hi,
I am trying to use the '-e' filetest operator and encountered some wired
behavior.
I have a tar.gz file which is around 2.6 G and this is the code...Tar.gz file
is in the same directory where script is executed.
unless (-e $file) {
print ("ERROR: $file does not exist\n");
exit(1);
}
This d
John,
"John W. Krahn" <[EMAIL PROTECTED]> wrote:
[ Please do not top-post ]
anu p wrote:
> If you have some time to help me out ...
You should post your questions to the mailing list instead of individual
subscribers.
> I tried a similar example of recursive
Hi,
Sorry, it was working, found out the problem was due
to something else.
Thanks,
Anu.
--- anu p <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the following code snippet in which I open
> two
> files for read.
>
> For each line in file 1 (log.txt), I extract
Hi,
I have the following code snippet in which I open two
files for read.
For each line in file 1 (log.txt), I extract the test
name, which is of format "dir/file" which is my
pattern and search for the line with same pattern in
file 2 (rg_table.txt). Somehow it's not working.
open (TST_IN, "r
Hi All,
I have a requirement where I need to check if a word
exists in a text file and if so, get the whole line of
text which contains the word. I also need to split the
line on space.
Example:
1 1 0 0 P 6/6
-
Code:
open (FIN, "temp.txt") || die "Cannot open file
Hi,
I have a requirement where I need to look at the age
of file, if it's older than 2 days, I should remove
it.
I am trying to use the '-M ' filehandle in my script,
it does not work.
I get the following error
Use of uninitialized value in numeric gt (>) at
./temp_age.pl line 12.
#!/usr/b
Hi,
I have a script which runs a regression and
generates a log of failed tests.
Eg: Test: dir1/test1.v failed
My manager wants me to create a link to the file, so
that if we click on the link the actual log pops up in
a browser. I know the path to open the test in a
browser, it's like
Note: forwarded message attached.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --- Begin Message ---
Hi,
I have written a simple script that does numeric or
ascii sort based on the comman
Hi,
I use perl once in a while for my office work, but I
want to have more practice of it.
It would be great if any one can suggest me some nice
websites which have good practical perl examples. It
would be nice if any one can help me with the scripts
they have developed for their own use too.
Note: forwarded message attached.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --- Begin Message ---
Hi,
I have written a perl one liner that gets rid of
digits at the end of a word, but
11 matches
Mail list logo