Question of memory management in Perl

2004-05-24 Thread Hari Krishnaan
Hi all, I have question with respect to memory utilization using perl. I am reading a huge file close to 786432 lines of hex values & am storing in an array. I do a data reformatting using the data in these array & in the sequence of process generate a number of arrays & eventually write into a

Question of memory management in Perl

2004-05-24 Thread Hari Krishnaan
Hi all, I have question with respect to memory utilization using perl. I am reading a huge file close to 786432 lines of hex values & am storing in an array. I do a data reformatting using the data in these array & in the sequence of process generate a number of arrays & eventually write into a

question on perlmodule main

2003-11-11 Thread Hari Krishnaan
Hi, what does the following code line mean ? $test = "main::" . $main::$foo; Thanks, Hari - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

How to read a bitMap file with Perl ?

2003-08-07 Thread Hari Krishnaan
Hello all, Incase of reading a bitmap file into an array variable , if I have to get the hex value do I have to convert the bitmap file into Hex before sending it into an array variable or after reading the bitmap file into an array what should I do if I want the bitmap file data to be output

Question on For loop usage in Perl

2003-07-10 Thread Hari Krishnaan
Hello all, I was using a for loop in the following manner in one of my perl programs. for($j=31, $n=$initial;$j>=0,$n<=$final;$j--,$n++) { # Executing statements here } 1) Is it legal in perl to use the for loop as mentioned above ? 2) If so when i compile perl gives a message as follows : "

A Doubt on Regular Expression

2003-05-31 Thread Hari Krishnaan
Hi everyone, Can anyone tell me what the following piece of code does : my $cur_dir = cwd (); if ($cur_dir =~ m, ^/.*/ (.*)/xyz,) { } Thanks, hari - Do you Yahoo!? Free online calendar with sync to Outlook(TM).