[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/linuxaux/opt/perl/lib/5.10.0/pod/ -> perlfaq4.pod (summary)

(no description)

File Size: 2315 lines (75 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  inside()

Functions
Functions that are not part of a class:

inside(have more than one return value, we can construct and dereference ananonymous array. In this case, we call the function in list context.print "The time values are @{ [localtime] }.\n";If we want to call the function in scalar context, we have to do a bitmore work. We can really have any code we like inside the braces, sowe simply have to end with the scalar reference, although how you dothat is up to you, and you can use code inside the braces. Note thatthe use of parens creates a list context, so we need C<scalar> toforce the scalar context on the function:print "The time is ${\(scalar localtime)   X-Ref
No description



Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1