http://www.perlmonks.org?node_id=79372


in reply to How do I use a regex to identify a / character at the beginning of a string?

if ($string =~ /^\//) { ... }
  • Comment on Re: How do I use a regex to identify a / character at the beginning of a string?
  • Download Code