develooper Front page | perl.perl5.porters | Postings from July 2008

Re: Alarums and Excursions

Thread Previous
From:
Sean O'Rourke
Date:
July 28, 2008 15:56
Subject:
Re: Alarums and Excursions
Message ID:
m2skttd3e2.fsf@cs.ucsd.edu
Glenn Linderman <perl@NevCal.com> writes:
> On approximately 7/28/2008 2:26 PM, came the following characters from
> the keyboard of Sean O'Rourke:
>> I'm just a single datapoint, but I find this feature useful, and
>> am hoping this whole thing ends up as just an endless mailing
>> list discussion.
>
> Maybe you should describe how it makes your life easier, and how you
> avoid the surprises (not using "funny" file names suffices for
> personal code, of course, but if you release code with this feature to
> others, how do you protect them?).

I like to be able to pass a pipe into scripts I write for files
treated by gzip, bzip, etc.  I have no need to "protect" others
because: (1) most of the Perl I write is for my own use; (2) most
of that which I share, I share with people who don't create
filenames with weird characters in them; (3) the stuff on CPAN is
modules, not "while (<>)" filters.

I just don't see any *real* hazard here -- it's like people
shouting that Things Must Change because someone's script might
do something bad if the moon explodes, or if the earth crashes
into the sun.  Sure, it could be true, but it's not a reason to
do anything.

Sean


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About