<br><br><div class="gmail_quote">On Wed, Jul 15, 2009 at 10:51 AM, Dave Doyle <span dir="ltr"><<a href="mailto:dave.s.doyle@gmail.com">dave.s.doyle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
although I haven't tested:<br><br>use Cwd;<br><br>my $real_path = abs_path('/home/production/../../etc/password');<br><br>I THINK it resolves symbolic links to the real path as well but you'd have to check that.</blockquote>
<div><br>Thanks. I just found it myself too.<br>This is exactly what I needed.<br><br> <br></div></div><br>