Synopsis: |
| todospath.pl |
| ||
#-----------------------------
sub toDosPath($)
{
my $f = shift;
$f =~ s/\//\\/g;
return $f;
}
#-- unit tests
sub test_todospath()
{
ut::assert(toDosPath("c:/bin/bob"), "c:\\bin\\bob");
}
1;
|
| Contact me about content on this page using john_web-at-arrizza-dot-com |
| For Web Master or site problems contact: webadmin-at-arrizza-dot-com |
| Copyright John Arrizza (c) 2001-2010 |