Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Can't write values from sorted array of structs

by tobyink (Canon)
on Oct 29, 2020 at 03:13 UTC ( [id://11123287]=note: print w/replies, xml ) Need Help??


in reply to Re: Can't write values from sorted array of structs
in thread Can't write values from sorted array of structs

"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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found