use constant SCROLL_X => 1; use constant SCROLL_Y => 2; use constant FLOW_X => 3; use constant FLOW_Y => 4; #### use canstant { SCROLL_X => 1, SCROLL_Y => 2, FLOW_X => 3, FLOW_Y => 4, };