I´m trying to write a perl script that reads NMEA codes from a gps whit <STDIN>, but all lines sent from the gps begins whit $ ( like $GPGLL).
The sad thing is that these first six characters is the only thing i can use to sort the usable lines out,and when i try to store a string like:
"$GPGLL,577.015,N,01201.076,E," into $gpsdata and i do a;
system("echo $gpsdata);
the result is: ",577.015,N,01201.076,E,"
Need i say that this is my first perl script.. :)
Thanks / Johan