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.
Reference
perl
2
test hello worl perl
Perl
brackets test 2
Lieta 101733
101744
version tester
OSTL prateeshrk
Please log in to post a comment.