in reply to Re: iterating through scalar
in thread iterating through scalar

You see idioms like foreach @{$somescalar} all the time

If you see code like that all the time, how come you got the syntax wrong?