develooper Front page | perl.perl5.porters | Postings from March 2007

Re: file reloading

Thread Previous
From:
Yuval Kogman
Date:
March 29, 2007 04:37
Subject:
Re: file reloading
Message ID:
20070329113714.GE22324@woobling.org
IIRC (not tested) to re-require a module without translating :: to /
and appending a .pm (this is one of the few things that does not
need File::Spec and friends to be portable) you can also delete the
entry from %INC. But to do that you need to translate :: to /
anyway ;-)

-- 
  Yuval Kogman <nothingmuch@woobling.org>
http://nothingmuch.woobling.org  0xEBD27418


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About