GiP doesn't like double quotes?

MacFH - C E Macfarlane - News news at macfh.co.uk
Thu Oct 29 12:05:36 EDT 2020


On 25/10/2020 10:29, Chris Walker wrote:
> I wanted to only download series 18 or later of Mock the Week so cobbled
> together this :-
> 
> get_iplayer "Mock the Week: Series \b(1[8-9]|2[0-9])\b"
> 
> It will run manually but not when run as part of the pvr. Substituting
> single quotes for doubles made it work. Any ideas why?

Because, as with bash, Perl treats the contents of single quotes 
literally, while it interprets the contents of double quotes.  What 
exact misinterpretation of the double quoted example is making it fail, 
I'm not enough of a Perl expert to be certain, but almost certainly 
that'll be why.





More information about the get_iplayer mailing list