News for hackers. Stuff that matters.
Re:Perl, the first postmodern computer language (1999) by jwilk on Wednesday May 04, 2022 @01:34PM (#31263484)
> Because that could return an array or a hash

@array[1] returns a single-element list-like thing. It mostly works, but you get a warning:

https://perldoc.perl.org/perldiag#Scalar-value-@%25s%5B%25s%...

There are no comments on this comment yet.