Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: perl code not working after moved new host with latest perl version

by frozenwithjoy (Priest)
on Mar 28, 2015 at 08:00 UTC ( #1121624=note: print w/replies, xml ) Need Help??


in reply to perl code not working after moved new host with latest perl version

Four things:

1. Are you sure the ENV variables are set properly on the new machine? What do you get when you run the following in terminal for both machines?

echo REQUEST_METHOD: $REQUEST_METHOD echo CONTENT_LENGTH: $CONTENT_LENGTH echo QUERY_STRING: $QUERY_STRING

2, On which line is the uninitialized value reported?

3. Put the following at the top of your script below the shebang:

use strict; use warnings;

4. Now what warnings/errors do you see? (Be sure to declare your variables w/ my)

Replies are listed 'Best First'.
Re^2: perl code not working after moved new host with latest perl version
by dpprabhuindia (Initiate) on Mar 28, 2015 at 08:47 UTC

    sorry I forgot to specify what is error I am facing in RHEL6 with perl version Commands I ran before run from shell promp

    $ export REQUEST_METHOD=GET $ export QUERY_STRING="sid=xxxxdb&period=2592000&top=10" $ perl -W chktr.pl
    Here is the error when I run with warning

    \1 better written as $1 at chktr.pl line 60. Name "main::rfre2" used only once: possible typo at chktr.pl line 51. Name "main::rsiz1" used only once: possible typo at chktr.pl line 47. Name "main::rfre1" used only once: possible typo at chktr.pl line 46. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Content-type: text/html <html> <body> <center> <p> <H3> last 30 days growth </H3> <table border=1> <tr><th>top 10 amount<th>Mega<th>%<th>top 10 utilization<th>Mega<th>% <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxx&period=2592000&ts=></a><td align=right>0.00<td align=ri +ght>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 </table> </center> </body> </html>

      sorry I forgot to specify what is error I am facing in RHEL6 with perl version Commands I ran before run from shell promp $ export REQUEST_METHOD=GET $ export QUERY_STRING="sid=xxxxdb&period=2592000&top=10" $ perl -W chktr.pl Here is the error when I run with warning

      \1 better written as $1 at chktr.pl line 60. Name "main::rfre2" used only once: possible typo at chktr.pl line 51. Name "main::rsiz1" used only once: possible typo at chktr.pl line 47. Name "main::rfre1" used only once: possible typo at chktr.pl line 46. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Use of uninitialized value $list{"exceptundo"} in string eq at chktr.p +l line 35. Use of uninitialized value $list{"excepttemp"} in string eq at chktr.p +l line 36. Content-type: text/html <html> <body> <center> <p> <H3> last 30 days growth </H3> <table border=1> <tr><th>top 10 amount<th>Mega<th>%<th>top 10 utilization<th>Mega<th>% <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxx&period=2592000&ts=></a><td align=right>0.00<td align=ri +ght>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 <tr> Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value in printf at chktr.pl line 104. Use of uninitialized value within @a1 in division (/) at chktr.pl line + 106. Use of uninitialized value within @r1 in multiplication (*) at chktr.p +l line 106. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value in printf at chktr.pl line 108. Use of uninitialized value within @a2 in division (/) at chktr.pl line + 110. Use of uninitialized value within @r2 in multiplication (*) at chktr.p +l line 110. <td><a href=/xxxx/cgi-bin/chkts.pl?sid=xxxxdb&period=2592000&ts=></a>< +td align=right>0.00<td align=right>0.00<td><a href=/xxxx/cgi-bin/chkt +s.pl?sid=xxxxdb&period=2592000&ts=></a><td align=right>0.00<td align= +right>0.00 </table> </center> </body> </html>

        I managed to delete invalid data from RRD output using splice

        for my $index (reverse 0..$#f) {

        if ( $f$index =~ /nan/ ) {

        splice(@f, $index, 1, ());

        }

        }

        Thanks to all Perl Monks for your support and your time.

        I really enjoyed way perl works

        dpprabhuindia

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1121624]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2020-10-01 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (18 votes). Check out past polls.

    Notices?