Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
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 exploiting the Monastery: (6)
As of 2014-12-25 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls