Hi Andrew,
On Thu, Sep 6, 2012 at 5:23 AM, andrew sison wrote:
> I've done some reading and learned that in order to automate that
> particular task using perl, I would have to use either Win32::OLE or
> Net::LDAP. So I decided to use to former.
Actually, I would strongly recommend using Net::LD
Hi Andrew,
I'm not an OLE or Win32::OLE expert, but see below for a review of your code:
On Thu, 6 Sep 2012 11:23:41 +0800
andrew sison wrote:
> Hello,
>
> It has been six years since I have shifted into a new role from being
> a systems administrator to being an IT auditor. It's been a while
Hello,
It has been six years since I have shifted into a new role from being
a systems administrator to being an IT auditor. It's been a while
since I've written my last perl script.
Now I'm back here again to get some help. Basically my job now
requires me to conduct audits on the information s
Thomas Bätzler schreef:
> #!/usr/bin/perl -w
Read perllexwarn.
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi,
Jason B <[EMAIL PROTECTED]> wrote:
> I'm really new to programming and this is my first perl prog.
> I'm looking for any advice or comments on this script.
Enable warnings and "use strict;".
That'll help you to write better code.
>
> #!/usr/bin/perl
#!/usr/bin/perl -w
use strict;
> #
"Jason B" schreef:
> #!/usr/bin/perl
Missing:
use strict;
use warnings;
> #Name:circumf
> #Date:Jun19/08
> #Author:Bornhoft, J
> #Purpose:to calculate the circumference of a circle
>
> print "Hi. I'm going to help you calculate the circumference of a
> circle\n";
Alternative:
print <
Hi Jason,
To start with you are going to get quite a few replies that will tell you to
use strict and enable warnings because that is what good perl programers do.
:-)
#!/usr/bin/perl
use strict;
use warnings;
#Name:circumf
Strict basically forces you to scope your variables, there is a lot of
I'm really new to programming and this is my first perl prog. I'm looking
for any advice or comments on this script.
(I don't want to develop bad habits from the start)
Thx.
#!/usr/bin/perl
#Name:circumf
#Date:Jun19/08
#Author:Bornhoft, J
#Purpose:to calculate the circumference of a circle
pr