From: Emma w. <emm...@gm...> - 2013-03-22 19:22:53
|
Ok Jamie, thank you so much for the good works! On Mar 22, 2013 6:23 PM, "Jamie Cameron" <jca...@we...> wrote: > Actually, "use strict" should work just fine - a while back I updated the > core Webmin API to use strict and warnings modes, and all new modules have > been written to turn those on. > > For example, see the module in the "webmin" subdirectory for how this is > done. > > On 22/Mar/2013 09:08 Emma wasanzy <emm...@gm...> wrote .. > > 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" <mp...@at...<http://reply_mail.cgi?new=1&to=mp4783%40att%2Ecom>> > 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 “inclusive” of what >> might be added to it. Again, my Perl knowledge is pathetic, but that’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’m not “polishing apples” here. I owe >> countless hours “recovered” 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**** >> >> mpe...@at... <http://reply_mail.cgi?new=1&to=mpeoples%40att%2Ecom>*** >> * >> >> ** ** >> >> *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:cni...@fo...<http://reply_mail.cgi?new=1&to=cnighswonger%40foundations%2Eedu>] >> >> *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 <emm...@gm...<http://reply_mail.cgi?new=1&to=emma%2Ewasanzy%40gmail%2Ecom>> >> 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 importing >> 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 web...@we...<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-devel >> >> > > > ------------------------------------------------------------------------------ > 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 web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > |