schlep(\%other_foo_bucket => $big_foo_bucket, qw[ camshaft camshaft gearbox1 gearbox the_drivetrain drivetrain my_smokestack smokestack _junkyard junkyard ]);
Rather than qw[] you could use a heredoc and have your routine do the splitting. Then you could have:
schlep(\%other_foo_bucket => $big_foo_bucket, <<EOT ); camshaft camshaft gearbox1 gearbox the_drivetrain drivetrain my_smokestack smokestack _junkyard junkyard EOT
I want to say this is mentioned somewhere in the camel, maybe not for this exact problem but for something similar.
In reply to Re: Bulk Hash Assignment
by Fletch
in thread Bulk Hash Assignment
by tadman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |