Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use POSIX;
    ...
    $city =~ s/^\s*(.*?)\s*$/$1/;
    my $speech_text = "Current conditions for $city, ";
    print "City: " , $city , "\n";
    
  2. or download this
    <?xml version="1.0" encoding="LATIN1"?>
    
    ...
                    <State>
                            NJ
                    </State>