in reply to Editing a text file

No idea what you mean when you say "think Walmart TV", but maybe this could do something like what you seem to require (without the need for batch files):

use strict; use warnings; use LWP::Simple; my $url = 'http://weather.noaa.gov/pub/data/forecasts/zone/pa/paz049.t +xt'; my @content = grep s/^\.//, split "\n", get $url or die "Couldn't get it!\n"; print join "\n", @content;

Replies are listed 'Best First'.
Re^2: Editing a text file
by appletag (Initiate) on Nov 21, 2006 at 01:31 UTC
    Walmart TV is the in-house TV's running advertisment. Our system has ads and a weather ticker. I'm currently evaluating Get::WeatherNOAA but I want to learn some perl so I'm going to try what you sent. I have LWP::Simple loaded so trying that code should be a pretty easy. I need to learn how to handle output now. Thanks!
      correction: Geo::WeatherNOAA