in reply to Gearman::Client Return Value

You can only pass strings to and from gearman workers and clients. If you want to pass array references, you'll need to serialize/unserialize them with something like Storable freeze()/thaw() (or with JSON or some other option).