Hi,
I am a SAN Administrator and planning to pick up a scripting language primarily for the following:
1) process and modify the command line outputs to get it in the desired format.
All of my management stations are windows so looking for a language that can take in the command line output as input and allow me to grep or awk it, but using some functions or methods provided by the language than something OS dependent.
2) Processing large volumes of text files and XML Files....readin g from XML Files and allowing me to structure the output in such a way that I can pass that as an argument or a function (or something...sor ry I dont know the right term)to another file or program.
3) Something that will understand the hex digits so that lets say I want to create hex digits between a range of A and F, then it should autofill B,C,D,and E....It should allow me to sort in Hex.
4) Automatation of work. Instead of me running 5 commands, each depending on the output of previous command, can I create a script in Perl that will run the commands depending on the output of the previous command? Does Perl have a module that can understand the error codes of commands?
5) I am also looking at a language that will let me create reports in excel in a graph format etc.
Is Perl well suited for all this?
6) Generally, all the elements of a Data Structure are pre defined, but if I dont know how many fields are going to be there in a data structure, will Perl allow me to create it on the fly?
7) How is Perl in terms of future demand? I keep hearing all this stuff that Perl is Dead, but that doesnt seem to be the case. Is there a demand in the market for Perl Scripting still?
Sorry if any of my questions, especially the last one seems naive or offending. That is not my intent.
My intent is to find one good scripting language and stick to it. I am ready to invest time in learning Perl, but then that would depend on how well suited it is for what I am looking for.
Please let me know.
I am a SAN Administrator and planning to pick up a scripting language primarily for the following:
1) process and modify the command line outputs to get it in the desired format.
All of my management stations are windows so looking for a language that can take in the command line output as input and allow me to grep or awk it, but using some functions or methods provided by the language than something OS dependent.
2) Processing large volumes of text files and XML Files....readin g from XML Files and allowing me to structure the output in such a way that I can pass that as an argument or a function (or something...sor ry I dont know the right term)to another file or program.
3) Something that will understand the hex digits so that lets say I want to create hex digits between a range of A and F, then it should autofill B,C,D,and E....It should allow me to sort in Hex.
4) Automatation of work. Instead of me running 5 commands, each depending on the output of previous command, can I create a script in Perl that will run the commands depending on the output of the previous command? Does Perl have a module that can understand the error codes of commands?
5) I am also looking at a language that will let me create reports in excel in a graph format etc.
Is Perl well suited for all this?
6) Generally, all the elements of a Data Structure are pre defined, but if I dont know how many fields are going to be there in a data structure, will Perl allow me to create it on the fly?
7) How is Perl in terms of future demand? I keep hearing all this stuff that Perl is Dead, but that doesnt seem to be the case. Is there a demand in the market for Perl Scripting still?
Sorry if any of my questions, especially the last one seems naive or offending. That is not my intent.
My intent is to find one good scripting language and stick to it. I am ready to invest time in learning Perl, but then that would depend on how well suited it is for what I am looking for.
Please let me know.
Comment