Skip to content

Commit

Permalink
Added test script
Browse files Browse the repository at this point in the history
git-svn-id: svn://localhost:81/cpan/perl5-http-dav/trunk@156 d5a6ac26-b448-f74c-955c-92d14582c9b2
  • Loading branch information
cosimo committed Jan 30, 2009
1 parent d39eb39 commit f7295c1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions patches/RT42877/test.pl
@@ -0,0 +1,15 @@
#!/usr/bin/perl

use strict;
use warnings;

my $h = {};
my $curr = $h->{basic_auth}->{netloc}->{realm};

print (( defined $curr ? "\$curr defined" : "\$curr undefined"), "\n");

@{ $h->{basic_auth}->{netloc}->{realm} } = (1, 2, 3);

print (( defined $curr ? "\$curr defined" : "\$curr undefined"), "\n");

print join(":", @{ $h->{basic_auth}->{netloc}->{realm} }), "\n";

0 comments on commit f7295c1

Please sign in to comment.