http://qs321.pair.com?node_id=183497


in reply to Re: checking the end of line
in thread checking the end of line

You mean
if( ($path =~ /(\d+)$/)[0] eq 0) {} else {}