Hello List,

I have a (probably) simple problem: 

IŽam parsing trough a directory an want to print out every filename that exists. 
(later I want to open those files)
Problem is, i have filenames like snr_log.csv,repact.csv,,foo.csv,bar.csv all with a 
period in between...
What I get is an error as follows up...

Any Suggestions?

ERROR:
##########################################################
perl -w verzeichnis.pl
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
Use of uninitialized value in concatenation (.) at verzeichnis.pl line 15.
Yeeehaaa:
##########################################################


this is verzeichnis.pl
#########################################

#/usr/bin/perl -w

use strict;

my $qis_root = "/home/user1/DiREx/test";
my $SNR_LOG;
chdir($qis_root)|| die "canŽt change to $qis_root!";

while (defined($SNR_LOG = <*>)){
#print "$dateien\n";
parse_logs($SNR_LOG);
}
sub parse_logs{

print "Yeeehaaa: $_ \n";

}
##########################################

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to