Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Perl Programming/Keywords/pop

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Perl pipe pos Keywords The pop keyword pop pops and returns the last value of the array by shortening it by this element. Returns undef, if the array is empty. If ARRAY is omitted, it pops @ARGV in the main program, and @_ array in subroutines, just like shift. From Perl 5.14.0 onwards, a scalar EXPRESSION can be passed that should hold a reference to an unblessed array. The argument is dereferenced automatically. This is a highly experimental aspect of pop and may change in future Perl versions. Syntax pop ARRAY pop EXPRESSION pop See also push shift Perl pipe pos Keywords