Mercurial > ec-dotfiles
diff bin/cek.pl @ 77:fef22522dca3
[cek.pl] better comment
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Sun, 19 Jun 2011 02:06:16 +0700 |
parents | 8fc79d327ccd |
children |
line wrap: on
line diff
--- a/bin/cek.pl Sun Jun 19 01:56:31 2011 +0700 +++ b/bin/cek.pl Sun Jun 19 02:06:16 2011 +0700 @@ -10,7 +10,7 @@ my $return_code = 0; my $file_name = $_[0]; if (!$file_name) { - #internal error, empty file name + #internal error, no file name passed to the function $return_code = 10; } elsif (!-f $file_name) { #input file name is not a file