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

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?