Remix.run Logo
chabska 2 hours ago

How would I know that $| is a var? It could be an operator, or a function, or a directive.

broken-kebab 41 minutes ago | parent [-]

There's no space for doubts at all. If it starts with $ then it's a scalar variable name. It's a very basic rule in Perl. Like any Perl tutorial would mention it within a few paragraphs from the start.

Bratmon 31 minutes ago | parent [-]

So then wouldn't that make $|++ the variable name?