Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to initialize device PRN

Status
Not open for further replies.

rookie23

Programmer
Oct 26, 2005
6
US
i tried to test perl installation on a server by typing the following

print "Hello World!\n";

I get following error when i tried

"Unable to initialize device PRN"

Please Help

Thanks in Advance
 
try like this at the command prompt:

perl -e "print 'Hello World!'"

 
Ahh the missing PRN -e bug...

Kordaff <--rhymes today lol
 
are you trying to run this on windows or unix?
try to follow Kevin's way and play a little with the quotes (single and double)


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Thanks KevinADC

i tried
perl -e "print 'Hello World!'"

and it works


Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top