Movatterモバイル変換


[0]ホーム

URL:


functions /pop
(source,CPAN)
You are viewing the version of this documentation from Perl 5.005_03.View the latest version
#pop ARRAY
#pop

Pops and returns the last value of the array, shortening the array by one element. Has a similar effect to

$tmp = $ARRAY[$#ARRAY--];

If there are no elements in the array, returns the undefined value. If ARRAY is omitted, pops the@ARGV array in the main program, and the@_ array in subroutines, just likeshift().

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp