Help for this page

Select Code to Download


  1. or download this
    is ($ipw->getcc(0), '**', "getcc(0) should return **");
    is ($ipw->getcc(999), '**', "getcc(999) should return **");
    # string 1000 is equivalent to '49.48.48.48' which is not covered
    ...
    # string 9999 is equivalent to '57.57.57.57'
    is ($ipw->getcc(9999), 'EU', "getcc(9999) should return EU");
    is ($ipw->getcc(10000), '**', "getcc(10000) should return **");