diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-07-15 00:36:25 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-07-15 00:36:25 +0000 |
commit | c954a603b8f02c172ffe0fd3503b4d7ca983ad99 (patch) | |
tree | 73abb08ca471579b836d3c6aa18efcce51cd59bd /lib/Tie/Scalar.pm | |
parent | d825a42e0a67d546192c470c4cca7da269ab90b1 (diff) | |
download | perl-c954a603b8f02c172ffe0fd3503b4d7ca983ad99.tar.gz |
Quote string argument in example -- necessary if using strict subs
Diffstat (limited to 'lib/Tie/Scalar.pm')
-rw-r--r-- | lib/Tie/Scalar.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 |