Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 ( #938579=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
Replies are listed 'Best First'.
Re^3: My script is working fine on linux but it's not working on the Windows
by marto (Bishop) on Nov 17, 2011 at 10:37 UTC

    Wonderful, now all you have to do is actually read and understand the links I gave you to find out what this means, and how to fix it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-07-08 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls