#perl v5.10.1 my $testdata; open(DATA, "; } close DATA; #testdata will be undefined