Skip to content

Instantly share code, notes, and snippets.

@koji
Created August 25, 2013 05:43
Show Gist options
  • Save koji/6332226 to your computer and use it in GitHub Desktop.
Save koji/6332226 to your computer and use it in GitHub Desktop.
perl入学式 #3
#!/usr/bin/env perl
#use strict;
#use warnings;
my @array = qw ( 0123 123 XXX);
print "表示:"."@array\n";
my $num = join '-' , @array;
print "電話番号的なもの:"."$num\n";
my $ex_str = "/usr/bin/env perl";
my @words = split /\//, $ex_str;
print "/区切り:"."@words\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment