/etc/skel$ perl -le '$foo=qq(/); print "YES" if $foo =~ m|/|;' YES /etc/skel$ perl -le '$foo=qq(/var); print "YES" if $foo =~ m|/|;' YES