"In our server there is no stricts and warning in stalled @INC hence unable to use this in my test script."
It's not "stricts", it's "strict". I have no "stricts" either:
$ perl -Mstricts -e 1 Can't locate stricts.pm in @INC (you may need to install the stricts m +odule) (@INC contains: ...). BEGIN failed--compilation aborted.
It's not "warning", it's "warnings". I have no "warning" either:
Can't locate warning.pm in @INC (you may need to install the warning m +odule) (@INC contains: ...). BEGIN failed--compilation aborted.
Please try these from your command line and report any output:
perl -Mstrict -e 1
perl -Mwarnings -e 1
If you get no output from those, you have both strict and warnings installed. However, if either produces any output, please run this and report all output:
perl -v
-- Ken
In reply to Re^3: Problem in executing the perl oneliner within the script (strict and warnings)
by kcott
in thread Problem in executing the perl oneliner within the script
by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |