I could be wrong, but wouldn&#39;t something like the following work for what you want to do?&nbsp; the path will stay relative to your script.<br><br>#!/usr/bin/perl -w<br><br>open(IN, &quot;&lt;../test/test.txt&quot;);<br>while(&lt;IN&gt;)
<br>{<br>&nbsp;&nbsp;&nbsp; print;<br>}<br><br><br><br><div><span class="gmail_quote">On 8/24/07, <b class="gmail_sendername">Larson, Timothy E.</b> &lt;<a href="mailto:TELarson@west.com">TELarson@west.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Huzzah, I&#39;m back among the Perly ones.&nbsp;&nbsp;:)&nbsp;&nbsp;I feel so rusty...<br><br>I want to implement a simple config file by requiring a file at runtime<br>- seems easy enough.&nbsp;&nbsp;I&#39;d like to do it smart, though, so I don&#39;t have
<br>to edit the path in my script when this moves into production.&nbsp;&nbsp;There&#39;s<br>got to be a simple way to get the abs path to &lt;my_bin_dir&gt;/../lib so the<br>thing is portable.&nbsp;&nbsp;Only a few lines to write myself, I suppose, but
<br>maybe even a one-liner if I just knew which function/module to use.<br>I&#39;ve tried File::Spec and Cwd but can&#39;t get it quite right.<br><br>Baby steps back into the pool...<br><br>Tim<br>--<br>Tim Larson<br>InterCall, a subsidiary of West Corporation
<br>Eschew obfuscation!<br>_______________________________________________<br>Omaha-pm mailing list<br><a href="mailto:Omaha-pm@pm.org">Omaha-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/omaha-pm">http://mail.pm.org/mailman/listinfo/omaha-pm
</a><br></blockquote></div><br>