develooper Front page | perl.module-authors | Postings from March 2019

Re: [RFC] File::TVShow::Parse

Thread Previous
From:
Adam Spann
Date:
March 20, 2019 15:13
Subject:
Re: [RFC] File::TVShow::Parse
Message ID:
CAFcBQ_ZztrE_59_F-ExmMJXZ1pVY7SUQS5THgPXD_zj72Wmm=g@mail.gmail.com
Thanks for the suggestions. I have decided to go with Info.

At this point support legacy regex appears pretty straight forward. But I
agree. It will be removed.
I run my code on an old mac mini, late 2009 which has perl 5.14

Thanks again for the feedback.

Adam

On Sun, 17 Mar 2019 at 04:09, John M. Gamble <jgamble@ripco.com> wrote:

> I would tend toward Info myself. The existence of Video::Info is
> irrelevant except for highlighting that Info is a valid choice. But I also
> admit that's just me, and I tend to view Parse in a language context.
>
> Don't bother trying to support Perl versions less that 5.10. Last I
> checked the (admittedly unscientific) surveys, 5.10 was the lowest version
> that had a sizeable usage percentage, and on a personal level, I just
> don't want to support Perls with flawed security.
>
> My current modules either have a minimum required versions of 5.10.1, or
> 5.16.1, depending on whether I might have to deal with Unicode. I've never
> had a complaint (I don't write pragmas or system-oriented code, so it's
> never been anything I've need to worry about).
>
>      -john
>
> On Thu, March 14, 2019 10:56 pm, Adam Spann wrote:
> > Hello Everyone,
> >
> > I am considering a module to supplement Video::Filename written by
> > Behan Webster. I have tried reaching out to him in the past couple of
> > weeks. Submitting a patch to provide support for show
> > name.yyyy.mm.dd.ext
> >
> >
> > In the mean time I have been considering if a specific module for TV
> > Shows only might also be worth while, of course with additional
> > features and support.
> >
> > See attached podtotext file.
> >
> > I have a few questions.
> >
> > 1)
> > Would it be better to go with Parse, Meta, or Info since we are
> > attempting to get meta data from from the file naming. There is
> > already a Video::Info which does the deep dive into the file contents
> > from what I have read. I have not used the module itself.
> >
> > 2)
> > Should I keep support for perl below version 5.10 as versions below
> > this do not support named groups in regex. I have seen on PerlMonks
> > that there are still questions being asked by people using perl
> > versions less than 5.10
> >
> >
> > Looking forward to hearing back.
> >
> > Best,
> > Adam Spann
> >
>
>
>

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