Ok so I have come to a position where I want to rip out some C code an replace it with Perl. Problem is that the C program is passed a C structure as a command line argument. As such I parse it with offsets and treat it as a binary object.
With Bash this is easy because you have access to the command line arguments in a single location($*). C isn't much more difficult. With Perl I can't seem to find a structure that is functionally equivalent. I can't join @ARGV because the os throws away repeated white space. I don't have control of the calling program to change it to quote the input either.