[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jun 16 07:57:53 2004 -->
- <!--x-from-r13: syrgpu ng culqrnhk.bet (Tyrgpu) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Perl Regexe questions -->
- <li><em>date</em>: Wed Jun 16 07:57:53 2004</li>
- <li><em>from</em>: fletch at phydeaux.org (Fletch)</li>
- <li><em>in-reply-to</em>: <<a href="msg00334.html">[email protected]</a>> (Christopher Fowler's message of "Tue, 15 Jun 2004 23:59:14 -0400")</li>
- <li><em>references</em>: <<a href="msg00330.html">[email protected]</a>> <<a href="msg00331.html">[email protected]</a>> <<a href="msg00334.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Perl Regexe questions</li>
Christopher> Non module method: $target =~ s(^.*/)();
And have fun tracking down the bug if you ever try to run it on
Wintendo (or VMS, or Mac OS pre-X, ...). Granted you may never do
that with this particular script, but if you use the module
platform-specific directory separators are handled for you.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00330" href="msg00330.html">[ale] Perl Regexe questions</a></strong>
<ul><li><em>From:</em> keith.watson at gtri.gatech.edu (Keith R. Watson)</li></ul></li>
<li><strong><a name="00331" href="msg00331.html">[ale] Perl Regexe questions</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
<li><strong><a name="00334" href="msg00334.html">[ale] Perl Regexe questions</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00339.html">[ale] OT: Technical schools - any recommendations</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00341.html">[ale] OT: Technical schools - any recommendations</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00334.html">[ale] Perl Regexe questions</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00349.html">[ale] Perl Regexe questions</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00340"><strong>Date</strong></a></li>
<li><a href="threads.html#00340"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>