CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate: Re: [rkellerjr] LWP Browser->Get Challenge: Edit Log

Veteran / Moderator

Aug 27, 2013, 8:19 AM

Views: 25609
Re: [rkellerjr] LWP Browser->Get Challenge

BTW, it appears that you're not using the strict pragma, which is a mistake. All Perl scripts you write should begin by loading these 2 pragmas.

use strict; 
use warnings;

The strict pragma will require you to declare your vars, which is done with the 'my' or 'our' keywords. 99.5 percent of the time you'll want to use the 'my' keyword.

my $url = "https://[server name is here]/[path information here]/$element/HAY/?page=$page";

Please use the code tags like I've done when posting your code.

(This post was edited by FishMonger on Aug 27, 2013, 8:20 AM)

Edit Log:
Post edited by FishMonger (Veteran) on Aug 27, 2013, 8:20 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives