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
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.
> >
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
>
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
4 matches
Mail list logo