Questions tagged [perlscript]

PerlScript is a scripting engine to run Perl scripts on either ASP or WSH.

PerlScript was initially solely an ActiveX Scripting Engine produced by the company ActiveState for use with Microsoft's Internet Information Services that allows for programmers to use -based code in addition to, or in place of, or in the context of web servers running the protocol.

Subsequently Apache::ASP was created for the web server, which allows for coding with only Perl, but neither VBScript nor JScript. Similar to VBScript, PerlScript can also be used to write programs for Windows Script Host .

52 questions
-2
votes
3 answers

How to read string from a file and to split them to different array?

I am struggling with this part for my college exercise... I need to read string from a file and put them into different variable... Team, kindly review and please reply in your free moment... Input File:…
Naga
  • 347
  • 2
  • 16
-3
votes
2 answers

Finding out duplicate names from an xml file

I have an xml file from which I have to find the duplicates. My XML file looks like this I want to find the count of all element names I tried the following code to first take all the names into a text file: But this throws an error saying Can't…
S6633d
  • 101
  • 2
  • 10
-3
votes
1 answer

How to read from DB2 database using perl

Currently i'm trying to create a connection from my windows machine to read from a remote DB2 database and i have to use perl scripting. I'm completely new to perl scripting but it does not seem difficult at all, what i need is some pointers or…
Dre4821
  • 9
  • 4
-3
votes
1 answer

perl assign variables to an array with relationship

Please advice how to pass 3 variables in an array with relation. @item = ($a , $b , $c); @record = push(@array, @item); I want to assign value in a @array so that if I look for any instance I should get value of all a,b,c. Is there any way apart…
-3
votes
1 answer

Perl script appending date

Am running this perl script ever day on my server and am getting the below output for the script. I am trying to modify the script to also include the current hour as part of the output. How can I go about doing this? This is my current script: …
Aju
  • 31
  • 3
-4
votes
3 answers

Search a list file of files for keywords

I have an array of files. Now I need to cat each file and search for a list of keywords which is in file keywords.txt. my keywords.txt contains below AES 3DES MD5 DES SHA-1 SHA-256 SHA-512 10.* http:// www. @john.com john.com and I'm expecting…
-5
votes
1 answer

Perl: List files and directories recursively but exclude some directories and files that passed

Please give any suggestion or snippet or anything that may work. I have already tried wanted function but how do I exclude some directory while recursing?
Baabla
  • 1
1 2 3
4