diff options
author | Larry Wall <larry@netlabs.com> | 1993-11-10 00:00:00 +0000 |
---|---|---|
committer | Larry Wall <larry@netlabs.com> | 1993-11-10 00:00:00 +0000 |
commit | 463ee0b2acbd047c27e8b5393cdd8398881824c5 (patch) | |
tree | ae17d9179fc861ae5fc5a86da9139631530cb6fe /tiescalar | |
parent | 93a17b20b6d176db3f04f51a63b0a781e5ffd11c (diff) | |
download | perl-463ee0b2acbd047c27e8b5393cdd8398881824c5.tar.gz |
perl 5.0 alpha 4
[editor's note: the sparc executables have not been included, and
emacs backup files have been removed. This was reconstructed from a
tarball found on the September 1994 InfoMagic CD; the date of this is
approximate]
Diffstat (limited to 'tiescalar')
-rwxr-xr-x | tiescalar | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tiescalar b/tiescalar new file mode 100755 index 0000000000..ab92a2e333 --- /dev/null +++ b/tiescalar @@ -0,0 +1,20 @@ +#!./perl + +# $RCSfile: dbm.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:43 $ +{ + package SOMEPACK; + sub new { local($x); bless \$x } + sub fetch { warn "fetch @_\n"; ${$_[0]} } + sub store { warn "store @_\n"; ${$_[0]} = $_[1] } + sub DESTROY { warn "DESTROY @_\n" } +} + +tie $h, SOMEPACK; + +$h = 'bar'; +print $h, "\n"; + +untie $h; +1; + + |