[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Perl Regexe questions



>>>>> "Christopher" == Christopher Fowler <cfowler at outpostsentinel.com> writes:

    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