Created
September 28, 2011 03:57
-
-
Save kiyotakagoto/1246951 to your computer and use it in GitHub Desktop.
型グロブでエイリアスしてみるテスト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /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