3 ms·
Yep. That's where I found $" and the other one, whatever it was :-) I can remember $_, $? and $!, but that's about it. And I like Perl.
by Roboprog 10y ago
Yep. That's where I found $" and the other one, whatever it was :-)
I can remember $_, $? and $!, but that's about it. And I like Perl.
- b2gills 10y agoThe only ones like that which exist in Perl 6 are $_ @_ %_ $! $/ The rest were either just abandoned or given names such as $GROUP or $PROGRAM-NAME $/ isn't the same as it was in Perl 5 instead it is for storing the result of successful matches. ( you can also assign to it ) $0, $1, $2 is short for $/[0], $/[1], $/[2] $<abc> is short for $/{'abc'} which can be spelled as $/<abc>