Hi, Timothy.

This isn't really the right list for your question, but let me suggest some
resources nonetheless.  :-)

* http://search.cpan.org/~shay/perl-5.22.1/pod/perlnewmod.pod
* http://www.perlmonks.org/index.pl?node_id=431702
*
http://blogs.perl.org/users/phillip_smith/2011/03/writing-perl-modules-for-cpan.html

And the 2nd edition of Intermediate Perl has a very good chapter on the
subject.

Regards,
David


On Wed, Feb 17, 2016 at 7:28 PM, Timothy Fletcher via modules <
modules@perl.org> wrote:

> Hi,
>
> Trying to write my first pm file for cpan.
>
> And well, reading the example suggest to look at;
>
>
> http://search.cpan.org/~muir/Text-Tabs%2BWrap-2013.0523/lib.old/Text/Tabs.pm
>
> SYNOPSIS [image: ^]
>
>   use Text::Tabs;
>
>   $tabstop = 4;  # default = 8
>   @lines_without_tabs = expand(@lines_with_tabs);
>   @lines_with_tabs = unexpand(@lines_without_tabs);
>
>
>
> <http://search.cpan.org/~muir/Text-Tabs%2BWrap-2013.0523/lib.old/Text/Tabs.pm>
>
> they don't match the source.
>
> =head1 SYNOPSIS
>
>       use File::Copy;
>
>       copy("sourcefile","destinationfile") or die "Copy failed: $!";
>       copy("Copy.pm",\*STDOUT);
>       move("/dev1/sourcefile","/dev2/destinationfile");
>
>       use File::Copy "cp";
>
>       $n = FileHandle->new("/a/file","r");
>       cp($n,"x");
>
> Other than your example pages, Oreilly book of swimming of perl( flipping 
> pages for ever ) is there step by step process example, for why and what?
>
> -Tim
>
>


-- 
David Golden <x...@xdg.me> Twitter/IRC/Github: @xdg

Reply via email to