Hello,
I am a beginner in Perl. I am trying to read and then process a pipe delimited file. My file looks something like this-
size|3
directory|c:\un icorn
sub-directories|sub |new.....
The examples I have seen online show code where it is known how many columns the file consists. However, this is going to be a configuration file and number of columns in sub-directories is unknown.
My question is what do I need has or hash's of hash or something else in this case?
Thanks!
I am a beginner in Perl. I am trying to read and then process a pipe delimited file. My file looks something like this-
size|3
directory|c:\un icorn
sub-directories|sub |new.....
The examples I have seen online show code where it is known how many columns the file consists. However, this is going to be a configuration file and number of columns in sub-directories is unknown.
My question is what do I need has or hash's of hash or something else in this case?
Thanks!
Comment