> -----Original Message-----
> From: Ron Powell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 6:23 AM
> To: '[EMAIL PROTECTED]'
> Subject: Perl 5.8.0rc1 changelogs. What are you most excited about?
>
>
> Heya,
>
> I just read this article --
> http://use.perl.org/articles/02/06/01/1944202.shtml?tid=6
> <http://use.perl.org/articles/02/06/01/1944202.shtml?tid=6>
>
> Being very new to perl, I don't understand what impact most
> of these changes
> will have, but I'm particularly interested in the addition of
> the SWITCH
> statement. I thought it might be an interesting to discuss
> which feature(s)
> the more advanced users are looking forward to, and what
> impact that will
> have - sort of a learning experience I guess.
>
> Anyways, have at it :)
These three look interesting:
* File handles can be opened to "in memory" files held in Perl scalars via:
open($fh,'>', \$variable) || ...
* Anonymous temporary files are available without need to
'use FileHandle' or other module via
open($fh,"+>", undef) || ...
That is a literal undef, not an undefined value.
* The list form of C<open> is now implemented for pipes (at least on UNIX):
open($fh,"-|", 'cat', '/etc/motd')
creates a pipe, and runs the equivalent of exec('cat', '/etc/motd') in
the child process.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]