File: dump_storable

package info (click to toggle)
munin 2.0.25-1%2Bdeb8u3~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 6,184 kB
  • sloc: perl: 11,818; sh: 3,545; java: 1,880; makefile: 767; python: 272
file content (16 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/perl
# Dump a Perl storable file to clear text
# (c) GPL - Steve Schnepp <steve.schnepp@pwkf.org>

use strict;
use warnings;

use Storable;
use Data::Dumper;

$Data::Dumper::Indent = 1;

while (my $file = shift) {
	my $ref = Storable::retrieve($file);
	print Dumper($ref);
}