ForNext
Only Do What Only You Can Do
055. replicate
Hyperpolyglot Interpreted Languages: PHP, Perl, Python, Ruby より (2012.05.08)
VBScript
JScript
Perl
my $hbar = "-" x 80;
PHP
$hbar = str_repeat("-", 80);
Python
hbar = '-' * 80
Ruby
hbar = "-" * 80