Los siguientes comandos muestran
accesos al atributo de tipo hash:
  DB<13> x $b->h
0  HASH(0x851bed0)
   'x' => 1
   'y' => 2
  DB<14> x $b->h('x')
0  1
  DB<15> x $b->h(x => 3)
0  3
  DB<16> x $b->h('x')
0  3
Casiano Rodríguez León

Principios de Programación Imperativa, Funcional y Orientada a Objetos Una Introducción en Perl/Una Introducción a Perl
por Casiano Rodríguez León 
is licensed under a Creative Commons Reconocimiento 3.0 Unported License.
Permissions beyond the scope of this license may be available at http://campusvirtual.ull.es/ocw/course/view.php?id=43.
2012-06-19