Created
March 4, 2022 12:55
-
-
Save azumakuniyuki/b31e9f2f752aac819169f4474ffcffbd to your computer and use it in GitHub Desktop.
This file contains 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; | |
my $p = shift; | |
if( $p =~ /(\d+)/ ) { | |
printf("西暦%d年ぐらい???\n", int($1) + int(rand(2000)) + int(rand(1800)) + int(rand(50))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment