File: IO_Dumper.pm

package info (click to toggle)
libio-all-perl 0.87-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 712 kB
  • sloc: perl: 2,017; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package IO_Dumper;
use strict;
use warnings;
use IO::All -base;

our @EXPORT = 'io';

sub io { return IO_Dumper->new(@_) };

package IO::All::Filesys;
use Data::Dumper;
sub dump {
    my $self = shift;
    local $Data::Dumper::Indent = 1;
    local $Data::Dumper::Sortkeys = 1;
    $self->print(Data::Dumper::Dumper(@_));
    return $self;
}

1;