Hello,
I'm completely new to Perl and I'm just looking for a quick answer to some code I'm trying to come up with. I'm trying to access a website, part of the URL I want the user to be able to define via standard input. As you can see below I'm still trying to get the syntax.
... (2 Replies)
Hi all
i want a program have input file .txt and process it then got output
Ex:
input:
King Saud University say hi
Mr.Ahmed Cena have a car
perl is good !
Dr.john is good!
output:
KSU say hi
Mr.AC have a car
perl is good!
Dr.John is good!
so the process take the String has... (3 Replies)
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)
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Hello All,
I'm trying to run a simple perl script and have the below error. Tried to google it but could not get a precise solution. Could you please help me out.
Can't locate object method "are" via package "equal" (perhaps you forgot to load "equal"?) at ./equal.pl line 9, <STDIN> line 2.
... (3 Replies)
I'm attempting to parse a file whose contents follow this format;
4:/eula.1028.txt:
8:/eula.1031.txt:
19:/eula.1033.txt:
23:/eula.1036.txt:
27:/eula.1040.txt:
31:/eula.1041.txt:
35:/eula.1042.txt:
39:/eula.2052.txt:
43:/eula.3082.txt:
The number of lines of the file... (4 Replies)
I am totally new to perl. I am modifying someone else's script. I have the following output:
# ./some-perlscript
A
B
C
D
E
B - E, is generated through the print command that I put in the script. I want to remove A, it seems it is generated automatically by a custom OS it is querying when... (3 Replies)
hi
i want to write simple socket program which will listen on socket . here is the code
## read msg on socket
#! /usr/bin/perl
use IO::Socket::INET;
my $MySocket= IO::Socket::INET->new(LocalPort=>1234,
Proto=>'udp') ;
while ()... (2 Replies)
not sure if i should post here or "shell programming"
anyway, i am just start learning perl.
1 #!/usr/local/bin/perl
2
3 $test1="Iam";
4 if ($test1=="anything")
5 {
6 print "show me\n";
7 }
when i run the program, it display "show me" all... (3 Replies)