Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Hash Refrence for memory optimization
use strict; use warnings; use Data::Dumper; my %hashTag; sub populate_hash { my ( $hashRef ) = @_; $hashRef->{$_} = $_ foreach ( 1..10 ); return $hashRef; } populate_hash(\%hashTag); print "[$_] -> $hashTag{$_}\n" foreach ( sort {$a<=>$b} keys %hashTag ); # print "[$_] -> $hashRef->{$_}\n" foreach ( reverse sort {$a<=>$b} keys %{$hashRef} );
run
|
edit
|
history
|
help
1
main_objetos
OSTL
Challenge 41 Task 1
test hello world perl compiler n tex
Perl basics
Array_with_shift_function
Closure
101744
Perl
G