4 ms·
> It's trivial to understand the difference between the scalar var $foo and the array var $foo[0] if someone explains it to you or you read it; I don't Perl mu
by dragonwriter 7y ago
> It's trivial to understand the difference between the scalar var $foo and the array var $foo[0] if someone explains it to you or you read it;
I don't Perl much, but aren't those both scalars and @foo is an array variable. $foo[0] would be a scalar that is the first element of @foo, right?
- Qcombinator 7y agoYes, indeed — I should have said "scalar element of the array var..." or something.