4scriptmoni
-
Total Posts
:
225
- Scores: 0
-
Reward points
:
0
- Joined: 5/3/2007
-
Status: offline
|
Perl better then VBS
Friday, August 29, 2008 2:42 AM
( permalink)
I have done many scripts in VBS, latelly I am working more with perl .pl. Perl seems to me a way more powerfull language, most important it is multi plataform, has many libraries pre built, speed, parsing, array handles, OS integration, all in my opinion are better then VBS, the only thing is it seems a more complex language, so I am strugling a bit to learn few crazy parsers regex etc... but I think its normal. I just wrote a network scan, with interacts directly with sockets with VBS could never do alone (yes with some library extensions). Well here is the script: http://felipeferreira.net/?p=31 cheers,
|
|
|
|
dm_4ever
-
Total Posts
:
3687
- Scores: 82
-
Reward points
:
0
- Joined: 6/29/2006
- Location: Orange County, California
-
Status: offline
|
RE: Perl better then VBS
Saturday, August 30, 2008 5:36 PM
( permalink)
For any windows admin though...the fact that vbscripts will run on any windows machine out of the box....it really helps. On WinXP there is a NetDiagnostics WMI class that actually lets you do a basic port check if you needed, but it seems to have been removed from Win2k3/2k8 & Vista. I'm also sure you can probably do somehting similar with PowerShell and a .NET class....one things for sure there are plenty languages out there for people to learn and work with.
|
|
|
|
TNO
-
Total Posts
:
2094
- Scores: 36
-
Reward points
:
0
- Joined: 12/18/2004
- Location: Earth
-
Status: offline
|
RE: Perl better then VBS
Saturday, September 06, 2008 5:33 AM
( permalink)
I know where you're coming from with Perl. Perl has been around for a few minutes and gone through a detailed evolution of its own. My Preference has always been the EcmaScript family of languages though since its available on EVERY computer and every browser. On windows it has access to the .NET framework as well. VBScript was a god send for System Admins since it let them escape Batch files and have something stronger to work with without having a big learning curve (Which is what the BASIC languages are good at...verbosity).
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
|
|