Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: My script is working fine on linux but it's not working on the Windows

by galacticos (Initiate)
on Nov 17, 2011 at 10:34 UTC ( #938580=note: print w/replies, xml ) Need Help??


in reply to Re: My script is working fine on linux but it's not working on the Windows
in thread My script is working fine on linux but it's not working on the Windows

I have used use strict and use warnings; now it's showing me this things

Global symbol "$y_date" requires explicit package name at logscript.pl line 4. Global symbol "$y_date" requires explicit package name at logscript.pl line 6. Global symbol "$y_date" requires explicit package name at logscript.pl line 7. Global symbol "$y_date" requires explicit package name at logscript.pl line 8. Global symbol "$year" requires explicit package name at logscript.pl line 9. Global symbol "$y_date" requires explicit package name at logscript.pl line 11. Global symbol "$y_date" requires explicit package name at logscript.pl line 12. Global symbol "$day" requires explicit package name at logscript.pl line 14. Global symbol "@fileco" requires explicit package name at logscript.pl line 19. Global symbol "@grepLogs" requires explicit package name at logscript.pl line 20. Global symbol "$day" requires explicit package name at logscript.pl line 20. Global symbol "$year" requires explicit package name at logscript.pl line 20. Global symbol "@fileco" requires explicit package name at logscript.pl line 20. Global symbol "@grepLogs" requires explicit package name at logscript.pl line 22. logscript.pl had compilation errors.

  • Comment on Re^2: My script is working fine on linux but it's not working on the Windows

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938580]
help
Chatterbox?
[Corion]: erix: I'm not sure if it really is MySQL - maybe MS SQL also has LIMIT 0
[erix]: it has TOP, IIRC
[Corion]: erix: Ah. I use where 1 = 0 for queries where I only am interested in the structure ;)
[erix]: 1=0 is as short as TOP :)
[erix]: "code of someone that died" -- kinda nice if your code stops working too

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-01-23 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (192 votes). Check out past polls.