Created
September 25, 2024 16:28
-
-
Save osirisgothra/7c7705a9f11f37f416b1d268d30df1b9 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/perl | |
use warnings; | |
use v5.20.2; | |
use Scalar::Util qw(looks_like_a_number); | |
die("it doesnt look like its a number") unless looks_like_a_number($ARGV[1] // "NaN"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment