On Tue, 1 Jun 2004, Jeff 'japhy' Pinyan wrote:
> On Jun 1, Dennis G. Wicks said:
>
> >Greetings;
>
> Please start a new thread next time, instead of replying to a post and
> creating a new topic.
OK, so I screwed up. Mea culpa!
>
> > foreach () {
> >chomp;
> >s/^ *//;
> >
On Jun 1, Dennis G. Wicks said:
>Greetings;
Please start a new thread next time, instead of replying to a post and
creating a new topic.
> foreach () {
>chomp;
>s/^ *//;
>($rank, $artist) = split(/ /, $_, 2);
Those two lines (the s/// and the split) could be rewritt
Please group reply so others can help and be helped. Please bottom post.
> I am actually popping out one array element at a time
But do you need to be?
>
> Heres the full code of the loop. This behavior does not happen in all
> the cases which I am comparing. However in cases where it happens
Greetings;
I keep getting a warning "Use of uninitialized value in
string ..." and I can't find a way to eliminate it.
Here is my code and the latest effort.
foreach () {
chomp;
s/^ *//;
($rank, $artist) = split(/ /, $_, 2);
>> if ($name{$artist} eq "") {$cnt
Tham, Philip wrote:
Hi,
The while loop
while(<@check_vip_ports>)
{
$token=pop(@check_vip_ports);
...
}
It is exiting before traversing the entire array. On running it on debug
I found that a function in the perl library is returning a values which
causes the exit as follows:-
File::Glob::csh_glob(
> Hi,
>
> The while loop
>
> while(<@check_vip_ports>)
In the above you are passing the values in the list @check_vip_ports to
the file globbing operator <>, which is not likely what you want to be
doing (let us know if it is for sure what you want to do).
> {
>
> $token=pop(@check_vip_ports)