Message-ID: <
439592B4.2050101@rowman.com>
Date: Tue, 06 Dec 2005 08:31:32 -0500
p4raw-id: //depot/perl@26280
require 'test.pl';
use strict qw(refs subs);
-plan (96);
+plan (98);
# Test glob operations.
$BAZ = "hit";
is ($$$FOO, 'hit');
+# test that ref(vstring) makes sense
+my $vstref = \v1;
+is (ref($vstref), "VSTRING", "ref(vstr) eq VSTRING");
+like ( $vstref, qr/VSTRING\(0x[0-9a-f]+\)/, '\vstr is also VSTRING');
+
# Test references to real arrays.
my $test = curr_test();