News for hackers. Stuff that matters.

matthewpersico

Re:Perl 5.38 Released on Wednesday July 05, 2023 @01:05PM (#36603407)
After the first deref, deref is assumed. Given:

  my $aref = [1,2,[3,4,5,[6,7] ] ];
You can do

  print $aref->[2][3][1];
which yields:

  7
Or

  my @array = (1,2,[3,4,5,[6,7] ] );
  print $array[2][3][1];
  7
Re:Perl, the first postmodern computer language (1999) on Thursday May 05, 2022 @09:08AM (#31272817)
And I believe that with the next release, a simple

    use v5.36;
will enable the feature.
Re:Perl, the first postmodern computer language (1999) on Wednesday May 04, 2022 @08:17PM (#31267697)
Because Perl is context sensitive and what we care about is not what is being stored but what is being accessed.

'array' is the variable.

'@array' gives me the list in 'array'.

'$array[1]' gives me the scalar ($) value at array[1].

`@array[3..7]` gives me the list (@) of values at array indexes 3-7, inclusive on both sides. (Why does Python use open ended ranges? <facepalm>) (Why is Python's slicing syntax an inflexible loop? <facepalm again>)

`@array[1]`, by the way gives me the list of values at array index 1, which is the same as `$array[1]`

https://blog.urth.org/2022/04/19/software-job-search-2022-re...

I have a two word answer: Intellectual Property. Not everyone is an accomplished Open Source publisher, nor should that be a requirement for employment. So what existing project do those candidates point the interviewer at? Someone else's IP? And then the hiring company is obligated in self-defense to make sure that it's not someone else's IP, lest it end up in someone's hard disk accidentally and get discovered in some otherwise unrelated audit? No. Thank. You. Keep your own code to yourself.

Now, you might point out your own code with some URLs and they may take a look at it. But that's not the same as making it part of the interview process.

Re:I am stepping down from Perl Steering Council and Core on Monday April 12, 2021 @02:15PM (#26782996)
*THIS**

If ever a collection of words thrown together has outpunched its weight, it is this! Brilliant! And I will be using it often, with reference to thrower123 on ycombinator. Just. Ducking. Brilliant.

Re:“I have toyota corola” on Wednesday November 23, 2016 @09:42AM (#13022935)
"You'd never hire anyone from the American inner city, from parts of Scotland and Ireland, parts of New York, and similar. Some very nice people talk loudly, swear, and use politically incorrect language."

Being born in New York (City), still living close and working there, I have to smile at the distinction between "American inner city" and "parts of New York". It just reinforces our attitude that there is New York and then there is everywhere else!

Thank you!