CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [phone4u] FOR LOOP HELP: Edit Log



phone4u
Novice

Aug 6, 2010, 6:07 AM


Views: 2979
Re: [phone4u] FOR LOOP HELP

I tried debugging the script by trying print $ip and I discovered its print only the first line in the saved IPv6.txt repeatedly while print $a and print $n were giving errors.
here are some content of my files so you can probably try it out on your machine;
IPv6.txt;
2001:1250::12
2001:12f0:300:1::151
2001:12f0:300:1::132
2001:12ff:0:2::3
2001:12ff:0:4::22
2001:12ff::1
2001:12ff:0:2::3
2001:12ff:0:4::22
2001:13c7:7001:4000::3
2001:13c7:7002:4000::10
2001:1400::1
2001:1418:100:1b5::2
2001:1418:100:1cf::2
2001:1418:100:22::2
2001:1418:100:359::2
2001:1418:100:d4::2
2001:1418:10:5::2
2001:1418:10:6::131
2001:1418:1:100::6
2001:1418:1:101::1

lexo.txt;
$tr->add(address=>'2001:1200::/32', prefix=>'64', data=>'16531');
$tr->add(address=>'2001:1210::/32', prefix=>'64', data=>'2549');
$tr->add(address=>'2001:1218::/32', prefix=>'64', data=>'278');
$tr->add(address=>'2001:1228::/32', prefix=>'64', data=>'18592');
$tr->add(address=>'2001:1250::/32', prefix=>'64', data=>'28497');
$tr->add(address=>'2001:1258::/32', prefix=>'64', data=>'28499');
$tr->add(address=>'2001:1284::/32', prefix=>'64', data=>'14868');
$tr->add(address=>'2001:1291::/32', prefix=>'64', data=>'16735');
$tr->add(address=>'2001:1298::/32', prefix=>'64', data=>'28296');
$tr->add(address=>'2001:129c::/32', prefix=>'64', data=>'22356');
$tr->add(address=>'2001:12a4::/32', prefix=>'64', data=>'28346');
$tr->add(address=>'2001:12b0::/32', prefix=>'64', data=>'28618');
$tr->add(address=>'2001:12c0::/32', prefix=>'64', data=>'11706');
$tr->add(address=>'2001:12c4::/32', prefix=>'64', data=>'28262');
$tr->add(address=>'2001:12c8::/32', prefix=>'64', data=>'21911');
$tr->add(address=>'2001:12d0::/32', prefix=>'64', data=>'28571');
$tr->add(address=>'2001:12d8::/32', prefix=>'64', data=>'1251');
$tr->add(address=>'2001:12e8::/32', prefix=>'64', data=>'16397');
$tr->add(address=>'2001:12f0:300::/48', prefix=>'64', data=>'2716');


(This post was edited by phone4u on Aug 6, 2010, 6:27 AM)


Edit Log:
Post edited by phone4u (Novice) on Aug 6, 2010, 6:27 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives