I misunderstood. perrin has it right. Here's what I used on 5.6.1, but I don't have a 5.5 to try it on.
#!/usr/bin/perl -wl use strict; no strict 'refs'; # Nothing there yet! print "AnyDBM_File::ISA = ", @AnyDBM_File::ISA; dbmopen my %db, "foo", 0777; my $pkg = ref tied %db; print $pkg; my @isa = @{"${pkg}::ISA"}; print @isa; print ${"$isa[0]::VERSION"} __END__ AnyDBM_File::ISA = AnyDBM_File SDBM_File 1.03
In reply to Re: Re: Re: WhichDBM_File?
by TilRMan
in thread WhichDBM_File?
by Dr. Mu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |