{"id":2501,"date":"2017-12-08T12:17:24","date_gmt":"2017-12-08T12:17:24","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2501"},"modified":"2025-02-01T23:08:00","modified_gmt":"2025-02-01T23:08:00","slug":"spit-out-warnings-on-uninitialized-variables-perl","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/spit-out-warnings-on-uninitialized-variables-perl\/","title":{"rendered":"Spit out warnings on uninitialized variables Perl"},"content":{"rendered":"<p><strong>scmuser created the topic: Spit out warnings on uninitialized variables Perl<\/strong><\/p>\n<p>How to Spit out warnings on uninitialized variables in Perl?<\/p>\n<p><strong>rajeshkumar replied the topic: Re: Spit out warnings on uninitialized variables Perl<\/strong><\/p>\n<p><code>#!\/usr\/local\/bin\/perl -w<\/code><\/p>\n<p>This will help you (really, it will force you) to write better, cleaner code. Adding the -w switch to the perl interpreter will cause it to spit out warnings on uninitialized variables &#8211; potential bugs.<\/p>\n<p>Regards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: Spit out warnings on uninitialized variables Perl How to Spit out warnings on uninitialized variables in Perl? rajeshkumar replied the topic: Re: Spit out warnings on uninitialized variables Perl #!\/usr\/local\/bin\/perl -w This will help you (really, it will force you) to write better, cleaner code. Adding the -w switch to the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[14],"tags":[175],"class_list":["post-2501","post","type-post","status-publish","format-standard","hentry","category-perl","tag-perl"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2501"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2501\/revisions"}],"predecessor-version":[{"id":2502,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2501\/revisions\/2502"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}