File: IO_Dumper.pm

package info (click to toggle)
libio-all-perl 0.39-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 536 kB
  • ctags: 331
  • sloc: perl: 2,761; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (2)
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;