User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 426,421 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 2,361 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

Perl problem

Join Date: Jan 2008
Posts: 33
Reputation: rysin is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rysin's Avatar
rysin rysin is offline Offline
Light Poster

Perl problem

  #1  
Mar 27th, 2008
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
#!/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?
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 2:01 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC