File::FilterFuncs almost ready to upload to CPAN.

File::FilterFuncs almost ready to upload to CPAN.

am 19.01.2007 04:22:48 von paduille.4060.mumia.w+nospam

Hello.

I created a new module called File::FilterFuncs. I believe that it's
ready to upload to CPAN, but I'd like some contructive comments on it first.

I'm hoping that I haven't made any glaring oversights :-)

The module is on my website right now:
http://home.earthlink.net/~mumia.w.18.spam/


--
Windows Vista and your freedom in conflict:
http://techdirt.com/articles/20061019/102225.shtml

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 17:08:38 von Andy

An interesting module. This would be great for migrating whole
websites that have hardcoded domain names or IP addresses.

I looked in your .pm source code and noticed that the transformation
functions the user is to supply actually are read in as pairs of
functions (one function to identify the source bytes to be transformed
and another function to transform them into something else).

Although you have examples showing this, PERL's syntax sometimes
obscurificates the fact there really are pairs of functions (sometimes
it looks like there are three or more). It might be good to emphasize
that only two functions per transformation are to be supplied, and to
supply more examples of transformations and their outcomes.

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 20:19:13 von Uri Guttman

>>>>> "A" == Andy writes:

A> Although you have examples showing this, PERL's syntax sometimes
A> obscurificates the fact there really are pairs of functions (sometimes
A> it looks like there are three or more). It might be good to emphasize
A> that only two functions per transformation are to be supplied, and to
A> supply more examples of transformations and their outcomes.

you have been told at least 2 times already that PERL is not a valid
name for anything. Perl is the language and perl is the program. please
stop calling it PERL.

uri

--
Uri Guttman ------ uri@stemsystems.com -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 20:57:22 von Andy

No disrespect was intended...does it really matter? At least I didn't
type it all in lowercase... ; )

Being an acronymn, one would think it would be all in capital letters.

(P)ractical
(E)xtraction &
(R)eporting
(L)anguage

I'm looking at my copy of the Corolois "PERL Black Book", once
considered to be one of the two Perl Bibles out there, and it uses
capitals for the language on its cover too...

Personally, I think Perl is a very well designed, comprehensive, and
robust language. I use it a lot for adhoc utility programs because its
easy to add functionality without wasting significant development time
in a project.

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 21:20:28 von Uri Guttman

>>>>> "A" == Andy writes:

A> No disrespect was intended...does it really matter? At least I didn't
A> type it all in lowercase... ; )

yes it does matter. i use all lower case in emails and such for some
wacko reason. but when i write published text i spell it Perl.


A> Being an acronymn, one would think it would be all in capital letters.

A> (P)ractical
A> (E)xtraction &
A> (R)eporting
A> (L)anguage

it is NOT an acronym. read perldoc perl and see what larry himself
says. it was NEVER an acronym. those came later so they don't count.

A> I'm looking at my copy of the Corolois "PERL Black Book", once
A> considered to be one of the two Perl Bibles out there, and it uses
A> capitals for the language on its cover too...

that is not a perl bible by any standard i know of. just because they
are wrong doesn't mean you should copy it. also it is on the cover. do
they use PERL inside as well?

uri

--
Uri Guttman ------ uri@stemsystems.com -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 21:27:47 von Andy

Well, it isn't my favorite Perl book. I have the earlier green one
from SAM's which I like alot better. The SAM's Perl book quickly gets
to the point about how to use a particular function.

The black book tries a narrative approach about a story of two
developers and a demanding boss, and you have to read the story to see
how they end up using each function to meet the boss's needs (learning
by example I guess...).

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 21:33:42 von Sherm Pendley

"Andy" writes:

> No disrespect was intended...does it really matter? At least I didn't
> type it all in lowercase... ; )

"PERL" is every bit as inaccurate than "Pearl". Both are indications that
the writer doesn't even know the language well enough to spell its name
correctly. Do you want others believing that of you?

> Being an acronymn

It's not an acronym.

perldoc -q difference

> I'm looking at my copy of the Corolois "PERL Black Book", once
> considered to be one of the two Perl Bibles out there

There is only one universally-recognized Perl Bible, and that's the "Camel
Book" - aka "Programming Perl" from O'Reilly.

> and it uses
> capitals for the language on its cover too...

That doesn't mean anything one way or another. Book covers often use fanciful
typefaces to get attention.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Re: File::FilterFuncs almost ready to upload to CPAN.

am 25.01.2007 21:57:57 von paduille.4060.mumia.w+nospam

On 01/25/2007 10:08 AM, Andy wrote:
> An interesting module. This would be great for migrating whole
> websites that have hardcoded domain names or IP addresses.
>
> I looked in your .pm source code and noticed that the transformation
> functions the user is to supply actually are read in as pairs of
> functions (one function to identify the source bytes to be transformed
> and another function to transform them into something else).
>
> Although you have examples showing this, PERL's syntax sometimes
> obscurificates the fact there really are pairs of functions (sometimes
> it looks like there are three or more). It might be good to emphasize
> that only two functions per transformation are to be supplied, and to
> supply more examples of transformations and their outcomes.
>

Thanks. I uploaded an older version of the module to CPAN. That version
doesn't have the "grepper" option yet.

I think that I'll simplify the system by putting both functionalities,
selection and transformation, into the same anonymous subroutine. After
that change, the "grepper" option will go away.


--
http://home.earthlink.net/~mumia.w.18.spam/

Re: File::FilterFuncs almost ready to upload to CPAN.

am 26.01.2007 01:15:24 von Ron Savage

On Fri, 26 Jan 2007 07:33:42 +1100, Sherm Pendley wrote:

Hi

>> Being an acronymn
> It's not an acronym.

Ah, well. Someone has to say it I guess:

Perl stands for Per-fect L-anguage.

>> and it uses
>> capitals for the language on its cover too...
> That doesn't mean anything one way or another. Book covers often
> use fanciful typefaces to get attention.

Well put.