Huub van Niekerk wrote: > Hi, > > Sorry if this is the wrong group. > > Using Fedora Linux, due to system changes the path to the Perl modules > has changed. I've found that @INC contains the new path, but it's placed > after the old path. So now I'm getting messages that modules can't be > found in @INC anymore. The docs I've read all tell me that I have to use > perl -I<name> to add a directory. But how do I remove the old paths?
Remove them in a BEGIN{} block before any `use` module statements. You can also add directories by `use lib 'directory';` See `perldoc lib`. -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/