You are using an old and unsupported version of the model. Please consider updating to the latest cesm2.1.1 release code.
If this isn’t possible, you can fix the perl issues by adding a new set of parenthesis around the qw() function so:
Code:
$model qw(cpl atm lnd ice ocn glc rof wav)
becomes
Code:
$model (qw(cpl atm lnd ice ocn glc rof wav))