Name

set

Synopsis

set DEST, VAL
               

Set a register to a value.

Arguments: IR, I or IR, N or IR, S or IR, P or NR, I or NR, N or NR, S or NR, P or SR, I or SR, N or SR, S or SR, P or P, I or P, N or P, S or P, P

set DEST[KEY], VAL

A keyed set operation on a PMC.

Arguments: P, I or P, N or P, S or P, P

set DEST, PMC[KEY]

A keyed get operation on a PMC.

Arguments: I, P or N, P or S, P or P, P

Get Perl 6 and Parrot Essentials, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.