Skip to main content

  | मौसम…

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

411 REFERENCE · Wikibooks

Perl Programming/Keywords/push

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

Perl prototype q Keywords The push keyword The push function treats ARRAY as a stack by appending LIST values to ARRAY. Returns the number of elements in the ARRAY after push is completed. 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 push and may change in future Perl versions. Syntax push ARRAY, LIST push EXPRESSION, LIST See also pop shift Perl prototype q Keywords