Opening Perl


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Opening Perl
# 1  
Old 08-24-2002
Opening Perl

I have gone to /usr/bin/ and click on perl but notting happens.also notting happens when i click on c/c++ or any other program


whats wrong ?
# 2  
Old 08-24-2002
Re: Opening Perl

Quote:
Originally posted by perleo
I have gone to /usr/bin/ and click on perl but notting happens.also notting happens when i click on c/c++ or any other program


whats wrong ?
Perl is an interpretted language so you must have a program to feed it for it to work correctly. If you are running perl, it should open up a window and await input.

For tutorials on learning perl, perform a Google search and you should get a whole bunch. The same goes for C/C++.

What compiler are you using for C/C++? Probably gcc or g++ (g++ is a link to gcc with some flags set for C++). gcc is different. It requires source code to begin with to compile into an executable.
# 3  
Old 08-26-2002
Perleo:

Please refer to my other post in your other thread, where you asked about perl and everything else.

at this stage in the game a beginners book to unix would be your best friend. I think you would find it well worth your time and sanity if you started at your local book store.


(but then again I offten think if your just another troll. every board has them)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Printing a message in file without opening it in perl

Hello friends, i have a perl script as below ... for (0 ..$#values) { ##want to print some message here in Report.txt file print `find /abc/xyz/pqr/$values" -type f -ls` >> Report.txt } I am able to get output of print `find /abc/xyz/pqr/$values" -type f -ls` >> Report.txt in... (2 Replies)
Discussion started by: harpal singh
2 Replies

2. UNIX for Dummies Questions & Answers

Opening a file in perl

Hi I need to open a file if a condition(for example a if a regular expression) is met. How do i do this ? open (file) if (some regex)..... (3 Replies)
Discussion started by: manutd
3 Replies

3. Shell Programming and Scripting

Help with opening webpage with IP#

Hi, I would like to open a webpage from an IP# from a file. Lets say I findout an IP address from using grep grep John remotecomputers.txt result: 192.168.2.1 Then after that I would like to increment the IP# to 192.168.2.2 from 192.168.2.1 After that I woud like to launch mozilla or... (2 Replies)
Discussion started by: tthach830
2 Replies

4. Shell Programming and Scripting

Opening File names with spaces inside it !- PERL

I developed a perl code..And the excerpt from it is given below... open(HANDLE,$cmp_path) ; #reading the xml file from the file path while($file_path = <HANDLE>) I have list of XML files to read from a folder. It has some spaces inside the name of the file...I used "\"... (2 Replies)
Discussion started by: gameboy87
2 Replies

5. Shell Programming and Scripting

Perl-opening a file then copying files

Good morning guys!! Im still practicing with Perl and now Im trying to open a file, and copy its contents to another file. Them I want to remeove the information out of the orginal file after it is copied over. The flow should be messages-->messages1-->messages2. Kind of like a log... (1 Reply)
Discussion started by: bigben1220
1 Replies

6. Shell Programming and Scripting

Opening Mulitple files using For loop in Perl

Hi All, I have a total of ten file to open in the Perl script and i am using a for loop to open each file and capture some strings inside each file. Unfortunately, i encounter the below syntax error. I think there should be something wrong with this term reports_${counting}_${_}.txt but i do... (4 Replies)
Discussion started by: Raynon
4 Replies

7. Shell Programming and Scripting

Opening Files and checking contents in Perl

Hi All, I need some expert help in performing the following in Perl. I have a code below but it doesn;t seem to work. Can any expert give me some advice? Below are the requirements 1) Open numerous files assigned to an array @FILES. Note that the files are always named with the term... (7 Replies)
Discussion started by: Raynon
7 Replies

8. Shell Programming and Scripting

Perl: Opening a filehandle but not getting anything back from it

I have two perl functions defined, both run a set of shell commands on some somplied data and return hashs of the resulting parsed output from these shell commands. One works, one doesn't and I can't seem to see why. It's driving me insane :mad: The working one: sub getcellstatus { ... (8 Replies)
Discussion started by: Smiling Dragon
8 Replies

9. AIX

Opening ports

Hi guys, I need to open ports on my AIX machine. The only way I know is to use service name to disable or enable ports which are used by the services. I found in /etc/services that the ports are unidentified. Btw, I want to open port number 11576 and 11577. Need help on this one. Thanks! :) (1 Reply)
Discussion started by: raskita
1 Replies
Login or Register to Ask a Question