HOWTO: imprimir métodos de un objecto en perl

less than 1 minute read

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