Re: [webmin-devel] Strict
Emma wasanzy <[email protected]> Fri, 22 Mar 2013 16:08:48 +0000
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <CALgYh1HUss6aEHNpXGDRbQ9Cpez4r2EcpTjbx8mErjEuXZjEuQ@mail.gmail.com> |
--===============0067908294985319191== Content-Type: multipart/alternative; boundary=e89a8f921936a1e90504d885ab6d --e89a8f921936a1e90504d885ab6d Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Oh yes Jamie has done a great work and is really helping me a lot. I was only asking to know if there was a special reason why strict hasn't been used. It might help my knowledge tooo. On Mar 22, 2013 3:06 PM, "PEOPLES, MICHAEL P" <[email protected]> wrote: > I cannot speak for Jamie, at whose feet I gladly grovel, but my theory > is that it made Webmin and the attendant code more =93inclusive=94 of wha= t > might be added to it. Again, my Perl knowledge is pathetic, but that=92= s my > theory.**** > > ** ** > > What Jamie built, for those of you who have taken the time to really > consider it, is a monumental achievement and contribution to system > administrators all over the world. I=92m not =93polishing apples=94 here= . I owe > countless hours =93recovered=94 through the use of Webmin to the guy.**** > > ** ** > > 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]**** > > ** ** > > *This e-mail and any files transmitted with it are AT&T property, are > confidential, 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 your computer. Any other use, retention, dissemination, > forwarding, printing, or copying of this e-mail is strictly prohibited."*= * > *** > > ** ** > > *From:* Chris Nighswonger [mailto:[email protected]] > *Sent:* Friday, March 22, 2013 10:55 AM > *To:* Webmin development list > *Subject:* Re: [webmin-devel] Strict**** > > ** ** > > On Fri, Mar 22, 2013 at 7:48 AM, Emma wasanzy <[email protected]> > wrote:**** > > Hello, **** > > 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 strict?**** > > ** ** > > > I'm sure only the webmin developer knows why he did not use strict, > however, you can still use it. Just initialize vars you intend on importi= ng > thus: > > #!/usr/bin/perl > > our( %in, %text, %config ); > > use strict; > use warnings; > > etc..... > > Older Perl did not support the 'our' pragma, but 'vars.' [1] So keep that > in mind if you are using an older Perl. > > Kind Regards, > Chris > > [1] http://perldoc.perl.org/vars.html**** > > > -------------------------------------------------------------------------= ----- > 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 > - > 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 > > --e89a8f921936a1e90504d885ab6d Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <p>Oh yes Jamie has done a great work and is really helping me a lot. I was= only asking to know if there was a special reason why strict hasn't be= en used. It might help my knowledge tooo.</p> <div class=3D"gmail_quote">On Mar 22, 2013 3:06 PM, "PEOPLES, MICHAEL = P" <<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:= <br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:= 0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707b9">I cannot speak for Jamie, at whose feet I gladly grovel, but = my theory is that it made Webmin and the attendant code more =93inclusive= =94 of what might be added to it.=A0=A0 Again, my Perl knowledge is pathetic, but that=92s my theory.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707b9"><u></u>=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707b9">What Jamie built, for those of you who have taken the time to= really consider it, is a monumental achievement and contribution to system= administrators all over the world.=A0 I=92m not =93polishing apples=94 here.=A0 I owe countless hours =93recovered=94 through the use o= f Webmin to the guy.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707b9"><u></u>=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Michael Peoples (mp4783)<u></u><u></u></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<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Global Service Assurance, M5<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">AT&T Business Solutions<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Office:=A0<a href=3D"tel:%2B1%20614-886-0923" value=3D"+16148860= 923" target=3D"_blank">+1 614-886-0923</a><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Mobile: <a href=3D"tel:%2B1%20614-886-0923" value=3D"+1614886092= 3" target=3D"_blank">+1 614-886-0923</a><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue"><u></u>=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Senior Systems Manager<u></u><u></u></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]" target=3D"_= blank"><span style=3D"font-size:12.0pt">[email protected]</span></a></span><= span style=3D"font-size:11.0pt;font-family:"Courier New";color:#0= 707b9"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#0707b9"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><i><span style=3D"font-size:10.0pt;font-family:"= ;Arial","sans-serif"">This e-mail and any files transmitted = with it are AT&T property, are confidential, and are intended solely fo= r 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"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707b9"><u></u>=A0<u></u></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""> Chris Ni= ghswonger [mailto:<a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a>] <br> <b>Sent:</b> Friday, March 22, 2013 10:55 AM<br> <b>To:</b> Webmin development list<br> <b>Subject:</b> Re: [webmin-devel] Strict<u></u><u></u></span></p> </div> <p class=3D"MsoNormal"><u></u>=A0<u></u></p> <div> <p class=3D"MsoNormal">On Fri, Mar 22, 2013 at 7:48 AM, Emma wasanzy <<a= href=3D"mailto:[email protected]" target=3D"_blank">emma.wasanzy@gmai= l.com</a>> wrote:<u></u><u></u></p> <p>Hello, <u></u><u></u></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 = strict?<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=A0<u></u></p> </div> <p class=3D"MsoNormal"><br> I'm sure only the webmin developer knows why he did not use strict, how= ever, you can still use it. Just initialize vars you intend on importing th= us:<br> <br> #!/usr/bin/perl<br> <br> our( %in, %text, %config );<br> <br> use strict;<br> use warnings;<br> <br> etc.....<br> <br> Older Perl did not support the 'our' pragma, but 'vars.' [1= ] So keep that in mind if you are using an older Perl.<br> <br> Kind Regards,<br> Chris<br> <br> [1] <a href=3D"http://perldoc.perl.org/vars.html" target=3D"_blank">http://= perldoc.perl.org/vars.html</a><u></u><u></u></p> </div> </div> <br>-----------------------------------------------------------------------= -------<br> Everyone hates slow websites. So do we.<br> Make your web apps faster with AppDynamics<br> Download AppDynamics Lite for free today:<br> <a href=3D"http://p.sf.net/sfu/appdyn_d2d_mar" target=3D"_blank">http://p.s= f.net/sfu/appdyn_d2d_mar</a><br>-<br> Forwarded by the Webmin development list at <a href=3D"mailto:webmin-devel@= webmin.com">[email protected]</a><br> To remove yourself from this list, go to<br> <a href=3D"http://lists.sourceforge.net/lists/listinfo/webadmin-devel" targ= et=3D"_blank">http://lists.sourceforge.net/lists/listinfo/webadmin-devel</a= ><br> <br></blockquote></div> --e89a8f921936a1e90504d885ab6d-- --===============0067908294985319191== 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 --===============0067908294985319191== 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 --===============0067908294985319191==--