Lines Matching refs:in

23 # What we actually do is define a function in the caller's namespace
55 # Name forced into main, but we're not in main. Fatal.
162 nobody noticed the one equation in which you wrote C<3.14195>.
164 When a constant is used in an expression, perl replaces it with its
166 In particular, any code in an C<if (CONSTANT)> block will be optimized
194 Constants belong to the package they are defined in. To refer to a
195 constant defined in another package, specify the full package name, as
196 in C<Some::Package::CONSTANT>. Constants may be exported by modules,
200 their own constants to override those in their base class.
203 although it is recommended in order to make constants stand out
213 with no values evaluates to C<undef> in scalar context. Note that
214 constants with more than one value do I<not> return their last value in
216 of values, but B<this may change in the future>. Do not use constants
217 with multiple values in scalar context.
220 constant is evaluated in list context. This may produce surprises:
226 returned by localtime() in list context. To set it to the string
227 returned by localtime() in scalar context, an explicit C<scalar>
231 must be placed in parentheses.
239 multiple constants in a single statement by giving, instead of the
249 This is a fundamental limitation of the way hashes are constructed in
251 quite cryptic -- in the worst case there may be none at all, and
255 constants defined in the same declaration. This is because the
282 scalar constant is inserted directly in place of some subroutine
287 In the rare case in which you need to discover at run time whether a
308 name as a constant in the same package. This is probably a Good Thing.
310 A constant with a name in the list C<STDIN STDOUT STDERR ARGV ARGVOUT
311 ENV INC SIG> is not allowed anywhere but in package C<main::>, for
314 Unlike constants in some languages, these cannot be overridden
317 You can get into trouble if you use constants in a context which
322 kicking in. Similarly, since the C<< => >> operator quotes a bareword
324 (or simply use a comma in place of the big arrow) instead of