![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: May 2005
Location: ma
Posts: 130
Rep Power: 4
![]() |
Do you use perl over bash scripting?
Hi. i don't know much about perl but i hear the syntax can make large programs hard to maintain and read. I've also heard a lot of administers started using it for scripting over bash scripting. I only use linux so bash scripting is fine for me but i was curious how well perl is for scripting on both linux and windows and if that is why admins have started using it cuz it works well in mixed environments? thanks for any comments in advance.
|
|
|
|
|
|
#2 |
|
Professional Programmer
|
I would personally choose perl over bash, but I don't see much that one language can do that the other can't.
Slightly off-topic, would you mind telling me how long you've been using Linux and what you currently use?
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: May 2005
Location: ma
Posts: 130
Rep Power: 4
![]() |
i have been using linux for a little more then a year and i've used the fedora cores. i started with 2 and learned on that and now im using 3 may upgrade to 4 when im not lazy.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() ![]() |
I use them both... shell scripting moreso than Perl.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|