Re: trying to use IO::Handle
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Sun, 13 Apr 2008 13:12:39 -0700
Chas. Owens wrote:
On Sun, Apr 13, 2008 at 3:20 PM, John W. Krahn <krahnj@xxxxxxxxx> wrote:
snip
Why not just:snippush @bad, "$3_$5_$4_$6_$2_$1";snip
I believe they would come out roughly the same in terms of
performance, but, in general, I don't trust $1, $2, etc outside of a
substitution. I have been bitten by interrupts that modified/cleared
them before.
You snipped out the part where I changed s{}{} to m{}.
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
.
- Follow-Ups:
- Re: trying to use IO::Handle
- From: Chas. Owens
- Re: trying to use IO::Handle
- References:
- questions from Learning Perl
- From: itshardtogetone
- Re: questions from Learning Perl
- From: Brian D Foy
- Re: questions from Learning Perl
- From: Chas. Owens
- trying to use IO::Handle
- From: Richard Lee
- Re: trying to use IO::Handle
- From: Rob Dixon
- Re: trying to use IO::Handle
- From: Richard Lee
- Re: trying to use IO::Handle
- From: Chas. Owens
- Re: trying to use IO::Handle
- From: Richard Lee
- Re: trying to use IO::Handle
- From: Chas. Owens
- Re: trying to use IO::Handle
- From: John W. Krahn
- Re: trying to use IO::Handle
- From: Chas. Owens
- questions from Learning Perl
- Prev by Date: Re: Perl comparison function for binary search
- Next by Date: Re: trying to use IO::Handle
- Previous by thread: Re: trying to use IO::Handle
- Next by thread: Re: trying to use IO::Handle
- Index(es):
Relevant Pages
|