Difference between revisions of "Perl"
Jump to navigation
Jump to search
(Created page with "I'm leaving Perl, traded it for Python. Some shortcuts I'd like to remember ;use Data::Dumper ;print Dumper($variable) :Print out the contents of $variable in a structured fo...") |
m |
||
Line 2: | Line 2: | ||
Some shortcuts I'd like to remember | Some shortcuts I'd like to remember | ||
− | ;use Data::Dumper | + | ;<nowiki>use Data::Dumper<nowiki> |
;print Dumper($variable) | ;print Dumper($variable) | ||
:Print out the contents of $variable in a structured format. | :Print out the contents of $variable in a structured format. |
Revision as of 16:49, 12 February 2018
I'm leaving Perl, traded it for Python. Some shortcuts I'd like to remember
- <nowiki>use Data
- :Dumper<nowiki>
- print Dumper($variable)
- Print out the contents of $variable in a structured format.