Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Mark Leighton Fisher (4252)

Mark Leighton Fisher
  (email not shown publicly)

I am a Systems Engineer at Regenstrief Institute []. I also own Fisher's Creek Consulting [].
Friday July 02, 2010
11:40 AM


[ #40430 ]

I am pleased to announce version 0.01 of pmtools-perl6, a suite of module tools for Perl 6. (Not quite up on CPAN yet as I write this.)

pmdirs is the only tool in pmtools-perl6 v0.01, as it was the simplest to port (more tools to come...)

On Cygwin (my testing environment), I cannot get the #! to work -- you will need to invoke pmdirs something like this under Cygwin:

    c:/parrot-2.2.0/bin/perl6 d:/cygwin/home/pmtools-perl6-0.01/pmdirs

(If you want to contribute Perl 6 ports of the other pmtools, please let me know.)

The source to pmdirs:

# pmdirs -- print the perl module path, newline separated

# TODO: use warnings;
use v6;

for (@*INC) {
    say $_;


=head1 NAME

pmdirs - print out module directories


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


    $ pmdirs

This also works for alternate version of Perl:

    $ filsperl -S pmdirs

=head1 SEE ALSO

perlrun(1), perlvar(1), lib(3)


Copyright (C) 1999 Tom Christiansen.

Copyright (C) 2006-2010 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".


The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.