Add Perl snippets from GNU

This commit is contained in:
Jonas Ryssel 2024-03-21 13:56:17 +01:00
parent bd81d402be
commit 44f3b5e16d
4 changed files with 15 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
JIX

5
PerlDumper.snip Normal file
View File

@ -0,0 +1,5 @@
use JIX::Log;
use Data::Dumper;
$Data::Dumper::Maxdepth = 2;
$Data::Dumper::Sortkeys = 1;
JIX::Log->warn(Dumper(<cursor>));

4
PerlDumperHTML.snip Normal file
View File

@ -0,0 +1,4 @@
% use JIX::Log;
% use Data::Dumper;
% $Data::Dumper::Maxdepth = 2;
% JIX::Log->warn(Dumper(<cursor>));

5
PerlScript.snip Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env perl
use utf8;
use JIX;
<cursor>