Hello world/Line printer: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 88:
<lang j>require'print'
print'Hello world!'</lang>
 
=={{header|Perl}}==
Assuming that the line printer is attached to /dev/lp0
<lang perl>open O, ">/dev/lp0";
print O "Hello World!\n";
close O;</lang>
 
=={{header|PHP}}==
Anonymous user