15.03.2020 Views

perl-language-es

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

my %hash = ( foo => 1, bar => { baz => 10, qux => 20 } );

my $href = \%hash;

show @array;

show %hash;

show $href;

perl example.pl da el siguiente resultado:

======( @array )=======================[ 'example.pl', line 11 ]======

[1 .. 10]

======( %hash )========================[ 'example.pl', line 12 ]======

{ bar => { baz => 10, qux => 20 }, foo => 1 }

======( $href )========================[ 'example.pl', line 13 ]======

{ bar => { baz => 10, qux => 20 }, foo => 1 }

Consulte la documentación de Data::Show .

Lea Salida de depuración en línea: https://riptutorial.com/es/perl/topic/983/salida-de-depuracion

https://riptutorial.com/es/home 99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!