Hello,

I have a perl script, end user runs from Unix Command.
I have a ColdFusion  file, have some logic to execute.
I want to redirect the control from perl to the perticular coldfusion file.

i have following 

Script--------------

#!/usr/bin/perl -w

use strict;
use warnings;
use lib '/usr/perl5/site_perl/5.005';

HTML::Validator 
my $url1 = "http://webdev.mydomain.com/re_test.cfm";;
print "Location: $url1\n\n";

When i run the perl file, it gives me following 

error-------

systax error at re_test.pl line 8, near HTML::Validator
my "

Global Symbol "url1" requires explicit package name at line 8
Global Symbol "url1" requires explicit package name at line 9

execution aborted due to compilation errors.


Any help will be appreciated.
Thanks in advance
Sham

Reply via email to