in reply to Re: looping over constant data structure references
in thread looping over constant data structure references

thanks , I'll ponder on that one - it does seem better - a list matches the constant idea better - contents of constant references are mutable, so removing the []'s removes that level of writable-ness, if that's the right term.

I'd worry about the [MSG_DATA] though - this copies MSG_DATA and returns a reference to the copy - this may or may not be what you want.
+++++++++++++++++
#!/usr/bin/perl use warnings; use strict; use brain;