File: storable.t

package info (click to toggle)
liburi-perl 1.64-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 608 kB
  • ctags: 303
  • sloc: perl: 4,914; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!perl -w

use strict;
use warnings;

eval {
    require Storable;
    print "1..3\n";
};
if ($@) {
    print "1..0 # skipped: Needs the Storable module installed\n";
    exit;
}

system($^X, "-Iblib/lib", "t/storable-test.pl", "store");
system($^X, "-Iblib/lib", "t/storable-test.pl", "retrieve");

unlink('urls.sto');