On Wed, Jul 15, 2009 at 10:43 AM, Fulko Hew <span dir="ltr"><<a href="mailto:fulko.hew@gmail.com">fulko.hew@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span style="font-family: courier new,monospace;">OK, my next query for a code/module recommendation is:</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">'What is the best/easiest way to normalize a directory from what</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> someone may have provided into something thats potentially real.'</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Ie. eliminate '../' scenarios.</span><br style="font-family: courier new,monospace;"></blockquote><div><br><br>Hi Fulko,<br><br>Please look into <b><a href="http://search.cpan.org/~smueller/PathTools-3.30/Cwd.pm">http://search.cpan.org/~smueller/PathTools-3.30/Cwd.pm</a> and <a href="http://search.cpan.org/~smueller/PathTools-3.30/lib/File/Spec.pm">http://search.cpan.org/~smueller/PathTools-3.30/lib/File/Spec.pm</a></b><br>
<br>Cheers,<br> - Richard<br><br></div></div>