below sub works fine except the line where key is default.
Instead of printing out PCMU only once, it's printing it out 40 times
randomly..
Trying to figure out what I did wrong.
Please leave me a feedback.
thank you.
156 time(s) Codec(s) : unassigned_38
185 time(s) Codec(s) : G729
Richard Lee wrote:
below sub works fine except the line where key is default.
Instead of printing out PCMU only once, it's printing it out 40 times
randomly..
Trying to figure out what I did wrong.
Please leave me a feedback.
thank you.
156 time(s) Codec(s) : unassigned_38
185 time(s)
John, I think this is now fixed.
Still looking to make sure its covering all basis..
sub codec_list {
#my @codec_d = qw/0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20 21 22 23 24 25 26 27
# 28 29 30 31 32 33 34 35--71 72--76 77--95 96--127/;
my @codec_d =
On Tue, Oct 14, 2008 at 02:15, Richard Lee [EMAIL PROTECTED] wrote:
below sub works fine except the line where key is default.
Instead of printing out PCMU only once, it's printing it out 40 times
randomly..
Trying to figure out what I did wrong.
snip
I found your code to be very odd. You do
Chas. Owens wrote:
On Tue, Oct 14, 2008 at 02:15, Richard Lee [EMAIL PROTECTED] wrote:
below sub works fine except the line where key is default.
Instead of printing out PCMU only once, it's printing it out 40 times
randomly..
Trying to figure out what I did wrong.
snip
I found your
Chas. Owens wrote:
On Tue, Oct 14, 2008 at 02:15, Richard Lee [EMAIL PROTECTED] wrote:
below sub works fine except the line where key is default.
Instead of printing out PCMU only once, it's printing it out 40 times
randomly..
Trying to figure out what I did wrong.
snip
I found your
John W. Krahn wrote:
Richard Lee wrote:
below sub works fine except the line where key is default.
Instead of printing out PCMU only once, it's printing it out 40 times
randomly..
Trying to figure out what I did wrong.
Please leave me a feedback.
thank you.
156 time(s) Codec(s) :
#!/usr/bin/perl -w
my $a;
if ($a eq 'fff'){
}
above line gives the error Use of uninitialized value in string eq at t.pl line 6.
but when -w not used in top line it works perfect
what the -w really does
,
solution is do initialize $a with a value when you declare it with the my
statement.
/\/\ark
-Original Message-
From: LRMK [mailto:lrmk;rakhitha.cjb.net]
Sent: Tuesday, November 05, 2002 9:51 AM
To: [EMAIL PROTECTED]
Subject: Help on -w
#!/usr/bin/perl -w
Hello LRMK,
At 11:51 PM 11/5/2002 +0600, LRMK wrote:
#!/usr/bin/perl -w
my $a;
if ($a eq 'fff'){
}
above line gives the error Use of uninitialized value in string eq
at t.pl line 6.
but when -w not used in top line it works perfect
what the -w really does
You've created $a but not set it to
10 matches
Mail list logo