Skip to content

Instantly share code, notes, and snippets.

@kiyotakagoto
Created September 28, 2011 03:57
Show Gist options
  • Select an option

  • Save kiyotakagoto/1246951 to your computer and use it in GitHub Desktop.

Select an option

Save kiyotakagoto/1246951 to your computer and use it in GitHub Desktop.
型グロブでエイリアスしてみるテスト
#! /usr/bin/env perl
use strict;
use warnings;
our $foo = 'This is foo schalar';
our @foo = ('This', 'is', 'foo', 'array');
our %foo = ('This is foo' => 'hash');
our ( $bar, @bar, %bar );
*bar = *foo;
print "$bar\n";
print join ',', @bar, "\n";
print %bar, "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment