-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I need to check a user suplied string to see if it has a trailing
slash, or not.
I tried seomthing like:
if( $dirname =~ m/\/$/ )
But that's not working. What am I doing wrong?
"Not working" is amazingly vague and non-informative. If you want people
to help you, you must provide more detail. Do you take your car to the
mechanic and say "It's not working. What's wrong"?
Come on now.
- --
Eric
$_ = reverse sort $ /. r , qw p ekca lre uJ reh
ts p , map $ _. $ " , qw e p h tona e and print
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBP59E3GPeouIeTNHoEQKrWQCfYMH6HJiQW9OIlYWjqTypxJUCC/cAoNZ2
LHBq5hT4Kwr4HBbC7HO+Vfiu
=bLV3
-----END PGP SIGNATURE-----