/[pxelator]/lib/PXElator/t/config.t
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 /lib/PXElator/t/config.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74 - (show annotations)
Fri Jul 31 13:16:11 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: application/x-troff
File size: 265 byte(s)
move shared (between processes) configuration files into own package

1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5 use autodie;
6
7 use Test::More tests => 3;
8 use Data::Dump qw/dump/;
9
10 use_ok 'config';
11
12 ok( my $test = config::shared( 'test', 42 ), 'set shared' );
13 diag $test;
14 cmp_ok( $test, '==', config::shared( 'test' ), 'get shared' );
15

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26