Alternative constructs 

$rain_clicks = $self->Int(substr($data,10,2));