Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Any ideas what code this is?.
$_ is a special var in Bash and Perl.
The '.' char is for string concat in Perl and PHP
So, I think this is perl.
The first statement evaluates to: "echo Brian Rogers >&2" The second statement `$_` runs that command.
The end result is that this line of code prints:
Brian Rogers
There are no comments on this comment yet.
$_ is a special var in Bash and Perl.
The '.' char is for string concat in Perl and PHP
So, I think this is perl.
The first statement evaluates to: "echo Brian Rogers >&2" The second statement `$_` runs that command.
The end result is that this line of code prints:
Brian Rogers