In article <20010703152920.Q19034@chaos.wustl.edu>, Jarkko Hietaniemi <jhi@iki.fi> writes: > Hmmm. Let's croak only if nothing worked. > > unless (defined $$rfh) { > for my $d (@INC) { > use File::Spec; > $f = File::Spec->catfile($d, "unicode", @path); > last if open($$rfh, $f); > } > croak __PACKAGE__, ": failed to find ",join("/",@path)," in @INC\n" > unless defined $rfh; > } > shouldn't that be unless defined $$rfh ?Thread Previous | Thread Next