Re: A bug in get_iplayer-3.01?

2017-06-07 Thread Alan Milewczyk
On 07/06/2017 16:04, David Cantrell wrote: my $string = $_[0]; @_ = @_[1 .. $#_]; I know him! Top bloke! ;-) A --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ get_iplayer mailing

Re: A bug in get_iplayer-3.01?

2017-06-07 Thread David Cantrell
On Wed, Jun 07, 2017 at 01:03:26PM +0100, Ralph Corderoy wrote: > Hi Richard, > > > The function/procedure/subroutine parameters I have difficulty with > > are ones of the form > > my $string = shift; > > I am inclined to agree with MrBrightside's comment in stackoverflow. > >

Re: A bug in get_iplayer-3.01?

2017-06-07 Thread Ralph Corderoy
Hi Richard, > The function/procedure/subroutine parameters I have difficulty with > are ones of the form > my $string = shift; > I am inclined to agree with MrBrightside's comment in stackoverflow. > https://stackoverflow.com/questions/7082811/what-does-assigning-shift-to-a-variable-mean >

Re: A bug in get_iplayer-3.01?

2017-06-07 Thread RS
From: Ralph Corderoy Sent: Monday, June 5, 2017 11:38 In another part of the code there is a variable sanitize_mode which >can have values between 0 and 4 to denote different treatment for sanitising file and directory names, and I haven't worked out how that gets set. $sanitize_mode is