"This seems reasonable because the documentation suggests that the arguments to struct should be within brackets."
The parentheses aren't important. OP puts use Class::Struct before the package statement, so the struct function is being imported into main instead of into Carrier_Info.
In reply to Re^2: Can't write values from sorted array of structs
by tobyink
in thread Can't write values from sorted array of structs
by maschwarz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |