in reply to Any tips on passing bash variables as arguments to a perl script (that contain spaces and/or non-ascii characters)

... and when dealing with server-type programs, standard representations such as YAML or JSON (or, of course, XML), have already solved the problem of reliably passing “funny-looking” values back and forth.   Not useful on the command-line, but intended for things like HTTP.   (CPAN has off-the-shelf support for everything, of course.)