HOWTO: imprimir métodos de un objecto en perl
Muy simple:
#DON'T use strict;
use Data::Dumper;
my $object = ....;
print "Instance METHOD IS " . Dumper( %{ref ($object)."::" }) ;
En Python es aun mas facil :)
Muy simple:
#DON'T use strict;
use Data::Dumper;
my $object = ....;
print "Instance METHOD IS " . Dumper( %{ref ($object)."::" }) ;
En Python es aun mas facil :)
Comments