Re: [PATCH] change Perl syntax to support Perl 5.6
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Aug 31, 2008, 13:35 UTC
- Message-ID
- <86abetnw7l.fsf@blue.stonehenge.com>
- In-Reply-To
- <20080830173947.GF7185@schiele.dyndns.org>
>>>>> "Robert" == Robert Schiele <rschiele@gmail.com> writes:
Robert> - open($fh, '-|', @_) or die; Robert> + open($fh, '-|', join(' ', @_)) or die;
No. This is dangerous.
If you want 5.6 equivalent code, you'll have to use something that deals with the explicit fork() of open($fh, '-|').
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion