From c954a603b8f02c172ffe0fd3503b4d7ca983ad99 Mon Sep 17 00:00:00 2001 From: Perl 5 Porters Date: Mon, 15 Jul 1996 00:36:25 +0000 Subject: Quote string argument in example -- necessary if using strict subs --- lib/Tie/Scalar.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Tie/Scalar.pm') diff --git a/lib/Tie/Scalar.pm b/lib/Tie/Scalar.pm index 2db02ae1da..ef27dc1398 100644 --- a/lib/Tie/Scalar.pm +++ b/lib/Tie/Scalar.pm @@ -26,8 +26,8 @@ Tie::Scalar, Tie::StdScalar - base class definitions for tied scalars package main; - tie $new_scalar, NewScalar; - tie $new_std_scalar, NewStdScalar; + tie $new_scalar, 'NewScalar'; + tie $new_std_scalar, 'NewStdScalar'; =head1 DESCRIPTION -- cgit v1.2.1