_brian_d_foy | 22 Dec 2005 18:13
Picon
Favicon

perlfaq4: How do I expand function calls in a string?


* deleted an extra "of"

* added an example of the Interpolation module

===================================================================
RCS file: /cvs/public/perlfaq/perlfaq4.pod,v
retrieving revision 1.71
diff -u -d -r1.71 perlfaq4.pod
--- perlfaq4.pod        23 Nov 2005 07:46:45 -0000      1.71
+++ perlfaq4.pod        22 Dec 2005 17:12:30 -0000
 <at>  <at>  -589,7 +589,7  <at>  <at> 

 This is documented in L<perlref>, and although it's not the easiest
 thing to read, it does work. In each of these examples, we call the
-function inside the braces of used to dereference a reference. If we
+function inside the braces used to dereference a reference. If we
 have a more than one return value, we can construct and dereference an
 anonymous array. In this case, we call the function in list context.

 <at>  <at>  -610,9 +610,17  <at>  <at> 
        sub timestamp { my $t = localtime; \$t }

        print "The time is ${ timestamp() }.\n";
+
+The C<Interpolation> module can also do a lot of magic for you. You can
+specify a variable name, in this case C<E>, to set up a tied hash that
+does the interpolation for you. It has several other methods to do this
+as well.
+
(Continue reading)

_brian_d_foy | 31 Dec 2005 02:09
Picon
Favicon

Changes to perlfaq.pod intro


I've updated the script that creates perlfaq.pod so it has a completely
different introduction. It's the same information edited, corrected, 
and much nicer sounding (I hope).

Take a look at the source for the script. After people have a chance
to comment on it I'll update perlfaq.pod.

http://cvs.perl.org/viewcvs/cvs-public/perlfaq/bin/perlfaq_toc.pl?rev=1.
5&view=markup

--

-- 
brian d foy, bdfoy <at> cpan.org

_brian_d_foy | 31 Dec 2005 02:14
Picon
Favicon

perlfaq2: Perl on the Net: FTP and WWW Access


Anyone care if I take this entry out of perlfaq2? I'm not sure
what it's answering, and it's not even a question.

=head2 Perl on the Net: FTP and WWW Access

To get the best performance, pick a site from the list at
http://www.cpan.org/SITES.html . From there you can find the quickest
site for you.

You may also use xx.cpan.org where "xx" is the 2-letter country code
for your domain; e.g. Australia would use au.cpan.org. [Note: This
only applies to countries that host at least one mirror.]

--

-- 
brian d foy, bdfoy <at> cpan.org

Robert Spier | 31 Dec 2005 07:43
Picon
Favicon
Gravatar

Re: perlfaq2: Perl on the Net: FTP and WWW Access


+1.

At Fri, 30 Dec 2005 17:14:06 -0800,
_brian_d_foy wrote:
> 
> 
> Anyone care if I take this entry out of perlfaq2? I'm not sure
> what it's answering, and it's not even a question.
> 
> 
> 
> =head2 Perl on the Net: FTP and WWW Access
> 
> To get the best performance, pick a site from the list at
> http://www.cpan.org/SITES.html . From there you can find the quickest
> site for you.
> 
> You may also use xx.cpan.org where "xx" is the 2-letter country code
> for your domain; e.g. Australia would use au.cpan.org. [Note: This
> only applies to countries that host at least one mirror.]
> 
> -- 
> brian d foy, bdfoy <at> cpan.org


Gmane