[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030423:ldmadmin and Perl 5.8
- Subject: 20030423:ldmadmin and Perl 5.8
- Date: Wed, 23 Apr 2003 15:51:51 -0600
Richard,
> To: address@hidden
> From: "Richard A Ryan" <address@hidden>
> Subject: suggestion for a problem with ldmadmin and Perl 5.8
> Organization: UCAR/Unidata
The above message contained the following:
> Although I've seen a suggestion a bit more elaborate than mine,
> for the strange Perl 5.8 infinite split loop problem in ldmadmin,
> wouldn't it make more sense to change lines like
>
> ( @QUEUES ) = split( "[ \t\n]+", `ls $pq_path` );
>
> to the simpler and less risky
>
> @QUEUES = <$pq_path/*>;
>
> rather than hacking the pattern for the split? It seems people
> get as addicted to those silly backtick things as they would to
> smoking crack.
Thanks for the suggestion.
The ldmadmin script has already been modified to eliminate the use of
the "@QUEUES" variable altogether.
> Richard Ryan
Regards,
Steve Emmerson