Delete last the values of array

How to delete the last three values of an array @test.

value: $test[-1]
       $test[-2]
       $test[-3]


greetings Michel
mmcwAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ozoConnect With a Mentor Commented:
splice(@test,-3);
0
All Courses

From novice to tech pro — start learning today.