Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Non-standard Perl Module Locations
- Date: Fri, 14 Mar 2008 15:34:48 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Non-standard Perl Module Locations
- References: <20080312033943.GF2019@lucky.cynic.net> <82c89d700803112238p2f67a262red145f8c1184b881@mail.gmail.com> <47D7721F.7080107@sonic.net> <20080312151121.U1693@plexi.pun-pun.prv> <20080312033943.GF2019@lucky.cynic.net> <82c89d700803112238p2f67a262red145f8c1184b881@mail.gmail.com> <47D7721F.7080107@sonic.net> <20080312033943.GF2019@lucky.cynic.net> <82c89d700803112238p2f67a262red145f8c1184b881@mail.gmail.com> <20080313065737.GC1789@lucky.cynic.net>
- User-agent: Mutt/1.5.17 (2007-11-01)
On 2008-03-13 16:05 +0900 (Thu), Curt Sampson wrote: > @inc_prefix = map { > ($path = $_) =~ s,.*/lib/,$base/lib/,; $path > } grep(/\/lib\//, @INC); By the way, this introduced me the hard way to some true nastyness in perl. My original code's map function was just: map { s,.*/lib/,$base/lib/ } of course everything exploded, because this returned nothing but an array with a lot of 1s in it, and even when I fixed that, it went and modified the paths in my orginal @INC array! Man, non-functional programming sucks. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] Non-standard Perl Module Locations
- From: SL Baur
- References:
- [tlug] Non-standard Perl Module Locations
- From: Curt Sampson
- Re: [tlug] Non-standard Perl Module Locations
- From: David Shanahan
- Re: [tlug] Non-standard Perl Module Locations
- From: steven smith
- Re: [tlug] Non-standard Perl Module Locations
- From: Tod McQuillin
- Re: [tlug] Non-standard Perl Module Locations
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] recursively printing html Howto's
- Next by Date: Re: [tlug] Bashing away at Unix
- Previous by thread: Re: [tlug] Non-standard Perl Module Locations
- Next by thread: Re: [tlug] Non-standard Perl Module Locations
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links