in reply to (crazyinsomniac) Re: How to use a list of structs that contain a list of structs?
in thread How to use a list of structs that contain a list of structs?
Parenthesis don't matter here. struct is a function, and since Perl doesn't particularly care whether parenthesis exist in cases like this, his method will work just fine, and, IMO, is more readable. Think of => as a comma and pretend 'DiscourseSegment' is in quotes and things start to look normal from a syntax point of view.