Your welcome. I'd say it's more a bug in the documentation of Struct.pm than in Struct.pm itself, although it's definitely a failing that fields that don't need to be initialized aren't -w friendly. It would be so easy for everything to be set to 0 by default or to silently treat undef as 0.