•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 425,972 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,677 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 675 | Replies: 2 | Solved
![]() |
| |
Hey guys. Ive got a problem with a simple hello world script. Im a perl beginner so bear with me. Im running mandriva linux if it matters. Also this file is saved under /home/rysin/documents.
Code
When I go into the command line and use the perl hello.pl command it comes up with this error message.
ANy idea why?
Code
#!/usr/bin/perl print "Hello World\n";
When I go into the command line and use the perl hello.pl command it comes up with this error message.
•
•
•
•
No such file or directory
ANy idea why?
•
•
Join Date: Nov 2006
Location: South Wales
Posts: 159
Reputation:
Rep Power: 2
Solved Threads: 11
Have you checked if perl is installed on your system?
Open up a terminal/shell and type:
This should give you something like:
Open up a terminal/shell and type:
perl -v
This should give you something like:
This is perl, v5.8.8 built for i586-linux-thread-multi licensing information, etc.
If you find my post useful please add to my reputation!! Thanks!
ajtrichards web solutions
http://www.ajtrichards.co.uk
ajtrichards web solutions
http://www.ajtrichards.co.uk
![]() |
•
•
•
•
•
•
•
•
DaniWeb Perl Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Perl code (Perl)
- problem in running perl script (Perl)
- Using VB Code - Silent download pdf from server and print to local printer (Visual Basic 4 / 5 / 6)
- noob on perl... please help (Perl)
- perl script help re: scope/structure for noob (Perl)
- where to start with perl? (Perl)
- Help With Printer Problem (Windows NT / 2000 / XP / 2003)
- help with my perl code (Perl)
Other Threads in the Perl Forum
- Previous Thread: Array problem
- Next Thread: Program Problem


Hybrid Mode