[Pdx-pm] Error opening a file.

Russ Johnson russj at dimstar.net
Mon Aug 12 23:12:39 CDT 2002

I have the following line in my script:

my $input = new IO::File ("< $location/$area/$msg.xml");

Which gives me the following error:

Use of uninitialized value in concatenation (.) or string at 
/home/httpd/cgi-bin/readmsg.pl line 55.

I've verified that $location, $area and $msg all have values. I've tried 
escaping the period. Another script with a very similar line (index.xml 
insead of $msg.xml) works fine.

What am I doing wrong?

Russ Johnson
Stargate Online

ICQ: 3739685

No man ever steps in the same river twice, for it's not the same river and 
he's not the same man.

More information about the Pdx-pm-list mailing list