Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Array_with_shift_function
#perl 5.26.1 use strict; use warnings; my @animals =("cat","bird","fish","dog"); #push(@animals,"snake"); my $number=push(@animals,"snake"); my $snake=pop(@animals); my $dog=shift(@animals); print ("@animals\n");
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
PWC 059-1
Perl
perl_tutorial
Hash-Nevil
Array_range_operators
Anchal 101712
Lieta 101733
size_of_array
Perlday1
FOP utilities
Please log in to post a comment.