10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello. I'm currently teaching myself Perl and was trying to turn an awk code that I had written into Perl. I have gotten stuck on a particular part and a2p has not helped me at all. The task was to take a .csv file containing a name, assignment type, score and points possible and compute it into a... (1 Reply)
Discussion started by: Eric7giants
1 Replies
2. UNIX for Beginners Questions & Answers
Hello. I'm trying to convert an awk script I wrote to perl (which I just started self-teaching). I tried the a2p command but I couldn't make sense of most of it.
Here was the awk code:
BEGIN{
FS = ","
print "NAME\tLOW\tHIGH\tAVERAGE"
a=0
}
{
if(a==0){
a+=1 (1 Reply)
Discussion started by: Eric7giants
1 Replies
3. Shell Programming and Scripting
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
4. Programming
Hi Experts,
Good morning.
I am trying to convert my hello.py to hello .exe file.
I followed the steps as mentioned in the documentation but getting errors in the end. Please help.
What I did as below--
Created hello.py file
print ("Hello world!")
raw_input('')
Then... (0 Replies)
Discussion started by: shekhar_4_u
0 Replies
5. Shell Programming and Scripting
Hi friends,
I'm very new to perl and got some requirement.
I've input numbers which has size of 17 characters like below:
-22500.0000000000
58750.00000000000
4944.000000000000
-900.000000000000
272.0000000000000
I need to convert these numbers from negative to positive and positive... (4 Replies)
Discussion started by: ganapati
4 Replies
6. UNIX for Advanced & Expert Users
Hello,
I have an AIX 5.3 system and i created a script to get the last login of users.
The script goes like this:
LAST_LOGIN=`lsuser -a time_last_login $cur_user`
TIME_LOGIN=`perl -e 'print scalar localtime("$LAST_LOGIN")'`
Actually what i do in these two lines is to set a variable... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
7. Shell Programming and Scripting
Hi, how to create an exe out of a perl script.Even if it is possible how secure is it? Are there other softwares to decryprt a perl exe and get the source code out of it ? (7 Replies)
Discussion started by: Anuj8584
7 Replies
8. Shell Programming and Scripting
I have a perl code that runs like
Code I
sub p
{
if ($d >= $D) {return}
printf "%3s"x$d++," ";
printf "%s%s\n",$_,$h{$_}?" ** ":"";
if (!$h{$_})
{
$h{$_}=1;
map {p($_)} @{$s{$_}}
}
$d--
}
($Set,$Job,$Num,$D) = (@ARGV);
map {shift} 0..3; (8 Replies)
Discussion started by: zainravi
8 Replies
9. Shell Programming and Scripting
How do i turn my TK perl program into an EXE using perl 2 exe.
I did it as normal but the program dont run, it shuts itslef down (2 Replies)
Discussion started by: perleo
2 Replies
10. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies