open my $fh, '<', 'C:/text.txt' or die "C:/text.txt: $!\n"; @inhalt = <$fh>; close $fh;