in reply to Re^4: Scalar Vs. List context
in thread Scalar Vs. List context
I'm not sure it even gets to the point of evaluation :-).
Are you saying it's a no-op?
push @{[ print "It definitely gets evaluated" ]}, 1;
To revisit what I already said, it's useless to talk about the context in which the @a from push @a, ... is evaluated because it doesn't return what it normally returns in either list or scalar context.
|
|---|