Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

davebaker (4482)

davebaker
  davebakerNO@SPAMbenefitslink.com
http://benefitslink.com/about.html

I'm married and living in the mountains of western North Carolina with our 14-year-old son. I've loved Perl since 1995, when I started a web site that became my livelihood when I discovered employers would pay to put help wanted ads on it.

Journal of davebaker (4482)

Wednesday December 21, 2005
05:38 PM

AM Radio Station Finder - Late Night DX!

[ #28087 ]

I was pleased to be able to write a neat little program (actually, about 5 megs due to the size of the data file that's appended to the end of the script) for my son, as a Christmas present.

He likes to listen to late-night AM radio, trying to find long-distance stations ("DX") whose signals are bouncing off the ionosphere to reach us here in western North Carolina.

The script was added to the "Code" section of perlmonks.org this afternoon.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The script was added to the "Code" section of perlmonks.org this afternoon.

    Except... it wasn't. The code block in AM Radio Station Finder [perlmonks.org] is empty.
    • Ah, damned Perl Monks. If there is a more confusing site to navigate, I'd hate to see it. Looks like the administrators took the code offline; I was able to view it and copy it once.

      I'll email it to you -- thanks,

      Dave Baker
      • I have pasted the code into Perl Monks a second time, but without the data. Maybe the Perl Monks took the code offline because the data were so large (about 5 megs).

        Also included in the supplemental posting I just made at Perl Monks is the URL of the FCC web site where you go to get the AM radio station data. Once you have the data, just copy it and paste it immediately after the __END__ line in the script (its last line).

        • Yeah, there's a limit for code block sizes to about 64k. No wonder you can't get it all in.
          • Have you ever used PAR?

            Wow, Autrijus Tang does wonderful work.

            I was able to make self-standing executables (without the need for the end user to have Perl installed on his machine) in both Linux and Windows environments.

            I wasn't able to make it work with a __END__ data section in the script, so I needed to split the data into a separate file and then read the data in the script using the standard open, flock, while $line= procedure.

            Have you ever been able to make PAR work with an __END__ data section?
  • Nice to see someone else using Perl for Radio. I'm using Perl for VHF propagation prediction ... similar DX experiene, but on a much shorter wavelength.
    --
    Bill
    # I had a sig when sigs were cool
    use Sig;