@Coord[3]; hilbert_i2c(3,10,190355,@Coord); print join(" ",@Coord); @Coord[2] = 35.5; @Coord[1] = 40; @Coord[0] = 36.8; print hilbert_c2i(3,10,@Coord), "\n"; use Inline C => Config => LIBS => '-lhilbert'; use Inline C => <<'END_OF_C_CODE'; Lots of C code Here with the above functions implemented END_OF_C_CODE