Re: Lost here.. Use of uninitialized value in print?

2005-04-04 Thread five421
Hi, > well, your line, > $list1 = @rawtext; ( using the above as list.txt) means > > $list1 is the number of lines in @rawtext which is 5. > > Then you want to go and split that value, 5 on non existant $ delimiters. > > So the next question is "What are you expecting from your split operation

Re: Lost here.. Use of uninitialized value in print?

2005-04-04 Thread five421
Hi, Sorry, I should have included the text file in my original message. It simply contains at this stage $File1.txt$ $File2.txt$ $File3.txt$ $File4.txt$ $File5.txt$ Using use strict; I end up with a range of warnings, I don't know how relevant they are here. Thanks again. D:\My Documents\Perl>

Lost here.. Use of uninitialized value in print?

2005-04-04 Thread five421
Hello everyone, I am new to Perl and am trying to code a simple program that will read a list of files from a text file then present the user with some options regarding those files (hope that makes some sense). Unfortunately after much searching/reading on the web and playing around with the code