Re: [webmin-devel] Strict
"PEOPLES, MICHAEL P" <[email protected]> Fri, 22 Mar 2013 13:38:46 +0000
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <B49D6855C20D22429FFD34954457A0141486223D@MISOUT7MSGUSR9F.ITServices.sbc.com> |
--===============2054168155625629182== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B49D6855C20D22429FFD34954457A0141486223DMISOUT7MSGUSR9F_" --_000_B49D6855C20D22429FFD34954457A0141486223DMISOUT7MSGUSR9F_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable It's not the API that is doing that, it's Perl's interpretation of the code= (perhaps that's self-evident). I have limited Perl knowledge and will def= er to others on this. However, I experienced the same thing when developin= g my own custom module. I simply removed the "strict" command and moved on= . Jamie will doubtless be able to explain this better. Michael Peoples (mp4783) iGEMS COE, Deployment, Engineering, Application Support and Security Global Service Assurance, M5 AT&T Business Solutions Office: +1 614-886-0923 Mobile: +1 614-886-0923 Senior Systems Manager [email protected]<mailto:[email protected]> This e-mail and any files transmitted with it are AT&T property, are confid= ential, and are intended solely for the use of the individual or entity to = whom this email is addressed. If you are not one of the named recipient(s) = or otherwise have reason to believe that you have received this message in = error, please notify the sender and delete this message immediately from yo= ur computer. Any other use, retention, dissemination, forwarding, printing,= or copying of this e-mail is strictly prohibited." From: Emma wasanzy [mailto:[email protected]] Sent: Friday, March 22, 2013 7:48 AM To: Webmin development list; Webmin users list Subject: [webmin-devel] Strict Hello, I have noticed that, the webmin API doesnt support the use of strict and wa= rning. Because any time I tried using them, I get so many "Global ...." err= ors which are related to the API. Why isn't the API using strict? --_000_B49D6855C20D22429FFD34954457A0141486223DMISOUT7MSGUSR9F_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Courier New"; color:#0707B9;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9">It’s not the API that is doing that, it’s Perl= 217;s interpretation of the code (perhaps that’s self-evident). = I have limited Perl knowledge and will defer to others on this. Howe= ver, I experienced the same thing when developing my own custom module. I= simply removed the “strict” command and moved on.<o:p></o:p></= span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9">Jamie will doubtless be able to explain this better.<o:p></o:= p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Michael Peoples (mp4783)<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">iGEMS COE, Deployment, Engineering, Application Support and Secu= rity<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Global Service Assurance, M5<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">AT&T Business Solutions<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Office: +1 614-886-0923<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Mobile: +1 614-886-0923<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Senior Systems Manager<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co= urier New";color:blue"><a href=3D"mailto:[email protected]"><span style= =3D"font-size:12.0pt;color:blue">[email protected]</span></a></span><span st= yle=3D"font-size:11.0pt;font-family:"Courier New";color:#0707B9">= <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#0707B9"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><i><span style=3D"font-size:10.0pt;font-family:"= ;Arial","sans-serif";color:black">This e-mail and any files = transmitted with it are AT&T property, are confidential, and are intend= ed solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherw= ise have reason to believe that you have received this message in error, pl= ease notify the sender and delete this message immediately from your comput= er. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.&qu= ot;</span></i><span style=3D"font-size:11.0pt;font-family:"Calibri&quo= t;,"sans-serif";color:blue"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9"><o:p> </o:p></span></p> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"">From:</span></b><span style=3D"font-s= ize:10.0pt;font-family:"Tahoma","sans-serif""> Emma was= anzy [mailto:[email protected]] <br> <b>Sent:</b> Friday, March 22, 2013 7:48 AM<br> <b>To:</b> Webmin development list; Webmin users list<br> <b>Subject:</b> [webmin-devel] Strict<o:p></o:p></span></p> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <p>Hello, <o:p></o:p></p> <p>I have noticed that, the webmin API doesnt support the use of strict and= warning. Because any time I tried using them, I get so many "Global .= ..." errors which are related to the API. Why isn't the API using stri= ct?<o:p></o:p></p> </div> </body> </html> --_000_B49D6855C20D22429FFD34954457A0141486223DMISOUT7MSGUSR9F_-- --===============2054168155625629182== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar --===============2054168155625629182== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline - Forwarded by the Webmin development list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-devel --===============2054168155625629182==--