HEX
Server: Apache
System: Linux server-674799.igrow.ws 5.14.0-611.30.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 11 06:42:00 EST 2026 x86_64
User: elrashedytravel (1025)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/.cpan/build/URI-5.29-0/t/geo_point.t
#!perl

use strict;
use warnings;

use URI::geo;
use Test::More;

eval { require Geo::Point };

plan skip_all => 'Needs Geo::Point' if $@;
plan tests => 5;

ok my $pt = Geo::Point->latlong( 48.208333, 16.372778 ), 'point';
ok my $guri = URI::geo->new( $pt ), 'uri';

is $guri->latitude,  48.208333, 'latitude';
is $guri->longitude, 16.372778, 'longitude';
is $guri->altitude,  undef,     'altitude';

# vim:ts=2:sw=2:et:ft=perl