---
name: "pmdirs"
section: "1p"
platform: "linux"
package: "pmtools"
version: "1.10+ds1-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/pmdirs"
---

# pmdirs(1p)

print out module directories

## NAME

pmdirs - print out module directories

## DESCRIPTION

This just prints out the current `@INC` path, one directory per line. This is for people who don't want to parse through `"perl -V"` output or hack up their own calls to `"perl -e"`.

## EXAMPLES

```
    $ pmdirs
    /home/tchrist/perllib/i686-linux
    /home/tchrist/perllib
    /usr/local/devperl/lib/5.00554/i686-linux
    /usr/local/devperl/lib/5.00554
    /usr/local/devperl/lib/site_perl/5.00554/i686-linux
    /usr/local/devperl/lib/site_perl/5.00554
    .
```

This also works for alternate version of Perl:

```
    $ filsperl -S pmdirs
    /home/tchrist/perllib
    /usr/local/filsperl/lib/5.00554/i686-linux-thread
    /usr/local/filsperl/lib/5.00554
    /usr/local/filsperl/lib/site_perl/5.00554/i686-linux-thread
    /usr/local/filsperl/lib/site_perl/5.00554
    .
```

## SEE ALSO

[*perlrun*(1)](/perlrun/1.md), [*perlvar*(1)](/perlvar/1.md), *lib*(3)

## AUTHORS and COPYRIGHTS

Copyright (C) 1999 Tom Christiansen.

Copyright (C) 2006-2008 Mark Leighton Fisher.

This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.)

Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License".
