Click here to get back home

Re: module needs to know its own path

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: module needs to know its own path Michele Dondi 03-06-2008
Posted by Michele Dondi on March 6, 2008, 3:28 pm
Please log in for more thread options
On Wed, 5 Mar 2008 19:29:01 -0600, Tad J McClellan

> (my $dir = $INC) =~ s#/MyModule.pm$##;

(my $dir = $INC) =~ s#/MyModule\.pm$##;
^
^

(Just to be *very* fussy!)


Michele
--
->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,

Similar ThreadsPosted
How to use relative path for a module October 27, 2004, 2:46 pm
require fails yet module exists in @INC path...? May 17, 2005, 10:20 pm
import fails if package namespace != module path September 24, 2007, 4:48 pm
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? May 23, 2005, 11:03 pm
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? August 8, 2005, 4:03 am
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? October 18, 2005, 4:03 pm
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? January 26, 2006, 12:03 am
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? September 23, 2006, 9:03 pm
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? March 26, 2007, 3:03 pm
FAQ 8.48 How do I add the directory my program lives in to the module/library search path? June 11, 2007, 9:03 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap