On Mon Jan 19 2009 @  2:13, Sarsamkar, Paryushan wrote:
> Hi All,
<snip>
> How can I work with / and \ here?

My suggestion would be to use File::Spec rather than hardcode the \ or / as
a path separator. See perldoc File::Spec for more information, but in a
nutshell, it's a core module built to "portably perform operations on file
names." The 'catfile' method should do what you need.

Hope this helps, T

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to