View Single Post
Old Jan 28th, 2008, 12:13 PM   #1
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 327
Rep Power: 3 kruptof is on a distinguished road
use syntax error

After finally getting the PHP:ession Module installed, I tried to write a test script to see if the installation worked:

#!/usr/local/bin/perl
print "content-type: text/html\n\n";
use PHP::Session;

However this dies with the error:
Quote:
syntax error at test.pl line 3, near "use PHP:"
Execution of test.pl aborted due to compilation errors
Can anybody please tell me what's wrong with that small piece of code?
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote