use Path::Class qw( file dir ); my $base = dir('c:\\abc\\def'); my $node = file('c:\\abc\\def\\ghi\\jkl'); # or dir() print $node->relative($base), "\n";
In reply to Re: unable chec whether the word is intermediate or last word in a sentence
by ikegami
in thread unable chec whether the word is intermediate or last word in a sentence
by suniln
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |