in reply to Re: Re: WhichDBM_File?
in thread WhichDBM_File?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: WhichDBM_File?
by Dr. Mu (Hermit) on Apr 20, 2004 at 06:07 UTC | |
by TilRMan (Friar) on Apr 20, 2004 at 06:53 UTC | |
by Dr. Mu (Hermit) on Apr 20, 2004 at 07:41 UTC | |
by PodMaster (Abbot) on Apr 21, 2004 at 03:55 UTC |