From: Slaven Rezic Date: Sat, 10 Aug 2002 19:30:38 +0000 (+0200) Subject: Safe.pm documentation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5c3cfe29098e62b6195a5e7963b71008f987c685;p=p5sagit%2Fp5-mst-13.2.git Safe.pm documentation Message-id: <200208101730.g7AHUc9p001668@vran.herceg.de> p4raw-id: //depot/perl@17729 --- diff --git a/ext/Opcode/Safe.pm b/ext/Opcode/Safe.pm index 22ba03f..b041ef7 100644 --- a/ext/Opcode/Safe.pm +++ b/ext/Opcode/Safe.pm @@ -383,8 +383,9 @@ This shares the variable(s) in the argument list with the compartment. This is almost identical to exporting variables using the L module. -Each NAME must be the B of a variable, typically with the leading -type identifier included. A bareword is treated as a function name. +Each NAME must be the B of a non-lexical variable, typically +with the leading type identifier included. A bareword is treated as a +function name. Examples of legal names are '$foo' for a scalar, '@foo' for an array, '%foo' for a hash, '&foo' or 'foo' for a subroutine and '*foo'