Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Re: Crontab error!

by Ozoz (Initiate)
on Apr 04, 2001 at 15:09 UTC ( [id://69617]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Crontab error!
in thread Crontab error!

500 error.log for the script:
/home/usr254/html/sa/Global symbol "$sonuc" requires explicit package +name at ok-filmler.cgi line 8. Global symbol "$elle1" requires explicit package name at ok-filmler.cg +i line 15.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Crontab error!
by davorg (Chancellor) on Apr 04, 2001 at 15:18 UTC

    You'll need to predeclare both of these variables. This is a good thing and one of the best reasons for using use strict.

    my $sonuc="/home/usr254/html/sa/filmler/HeadLine.tlt"; my $elle1= get("http://www.ntvmsnbc.com/news/FILM_front.asp");
    --
    <http://www.dave.org.uk>

    "Perl makes the fun jobs fun
    and the boring jobs bearable" - me

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://69617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-09-17 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (22 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.