I would seem that a command line switch would be nice, however your
workaround is more verbose than needed. You should simply be able to
`use blib` as if it were another script; this is what `-Mblib` does as
a arguement to the perl interpreter. HTH

Joel

On Tue, Jul 17, 2012 at 12:38 PM, John Lapeyre
<[email protected]> wrote:
>
> Hello,
>
> I can do this (and get what I expect):
>
>> pdl -Mblib
>
> But this fails and then prints the usage message:
>
>> pdl2 -Mblib
>  Unknown option: M
> <snip>
>
> I can start pdl2 and unshift @INC, './blib/lib'.
> But that is a little clumsy when iterating changes.
> I searched around in docs, the web, and list archives,
> but didn't find any talk about it.
>
> cheers,
> John
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to