APRS Perl Split

Robert Pepper robert at peppernet.org
Thu Sep 25 14:31:51 EST 2003

> I am feeling very dumb today I need some help with this PERL code.
> I am trying to get:  CALLSIGN, DEST, (digis), PAYLOAD


print join "\n", @stuff = split (/[>,:]/, $string);

this being Perl there are many more ways to do it.  Not familiar with the
structure of the data so can't recommend a best method.  Suggest perusal
of regex notes as split et al is just a regex variant at heart.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://second.aprs.net.au/pipermail/ozaprs/attachments/20030925/8181263c/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT12130.txt
Url: http://second.aprs.net.au/pipermail/ozaprs/attachments/20030925/8181263c/attachment.txt 

More information about the Ozaprs mailing list