Changeset 23046
- Timestamp:
- 11/19/08 23:41:46 (7 weeks ago)
- Files:
-
- 1 modified
-
docs/Perl6/Spec/Functions.pod (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs/Perl6/Spec/Functions.pod
r22954 r23046 14 14 Carl Mäsak <cmasak@gmail.com> 15 15 Date: 12 Mar 2005 16 Last Modified: 7Nov 200817 Version: 2916 Last Modified: 19 Nov 2008 17 Version: 30 18 18 19 19 This document attempts to document the list of builtin functions in Perl 6. … … 1366 1366 1367 1367 Directives guide the use (if any) of the arguments. When a directive 1368 (other than C<%>) are used, they indicatehow the next argument1368 (other than C<%>) is used, it indicates how the next argument 1369 1369 passed is to be formatted into the string. 1370 1370 … … 1395 1395 F a synonym for %f 1396 1396 1397 Perl 5 compatibility:1397 Perl 5 (non-)compatibility: 1398 1398 1399 1399 n produces a runtime exception (see below) … … 1437 1437 =item fmt 1438 1438 1439 our Str multi method fmt( Scalar $scalar: )1440 our Str multi method fmt( List $list: , Str $separator = ' ' )1441 our Str multi method fmt( Hash $hash: , Str $separator = "\n" )1442 our Str multi method fmt( Pair $pair: )1439 our Str multi method fmt( Scalar $scalar: Str $format ) 1440 our Str multi method fmt( List $list: Str $format, Str $separator = ' ' ) 1441 our Str multi method fmt( Hash $hash: Str $format, Str $separator = "\n" ) 1442 our Str multi method fmt( Pair $pair: Str $format ) 1443 1443 1444 1444 A set of wrappers around C<sprintf>. A call to the scalar version … … 1709 1709 1710 1710 When stringified, an C<OS::Name> yields its name. When 1711 stringified, an C<OS:: addr> yields its address in an1711 stringified, an C<OS::Addr> yields its address in an 1712 1712 appropriate text format (e.g. "10.1.2.3" for an IPV4 address). 1713 1713 … … 1979 1979 =item dump 1980 1980 1981 Dumped. 1981 Dumped. The C<.perl> method fills this role in Perl 6. 1982 1982 1983 1983
