Variables
Basic List Functions
-
- Another way to add or remove elements from a list is by using one of
Perl's four built-in list manipulation functions
@foo = ( "a", "b", "c", "d"
);
- Add "e" to the END of @foo
- Remove "e" from the END of @foo
- Add "a" to the START of @foo
- Remove "a" from the START of @foo