/[webpac2]/trunk/scripts/webpac-storable-dump.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/scripts/webpac-storable-dump.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1127 - (show annotations)
Tue Apr 21 15:41:08 2009 UTC (15 years ago) by dpavlin
File MIME type: text/plain
File size: 246 byte(s)
 r1762@llin:  dpavlin | 2009-04-21 17:41:03 +0200
 enable multiple arguments to support wildcards
 
 ./scripts/webpac-storable-dump.pl var/row/ovid/ovid/* | vi -R -

1 #!/usr/bin/perl -w
2
3 # dump WebPAC storable files
4
5 use strict;
6 use Storable qw/retrieve/;
7 use Data::Dump qw/dump/;
8
9 my $path = shift @ARGV || die "usage: $0 /path/to/lookup\n" unless @ARGV;
10
11 print "# $_: ",dump( retrieve( $_ )),$/ foreach @ARGV;
12

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26