>>> Khandelwal, Radhesham (Radhesham) % writes:

  Sham> I have a perl script, end user runs from Unix Command.  I
  Sham> have a ColdFusion file, have some logic to execute.  I
  Sham> want to redirect the control from perl to the perticular
  Sham> coldfusion file.
  Sham>
  Sham> i have following 
  Sham>
  Sham> Script--------------
  Sham>
  Sham> #!/usr/bin/perl -w
  Sham>
  Sham> use strict;
  Sham> use warnings;
  Sham> use lib '/usr/perl5/site_perl/5.005';
  Sham>
  Sham> HTML::Validator 
  Sham> my $url1 = "http://webdev.mydomain.com/re_test.cfm";;
  Sham> print "Location: $url1\n\n";
  Sham>
  Sham> When i run the perl file, it gives me following 
  Sham>
  Sham> error-------
  Sham>
  Sham> systax error at re_test.pl line 8, near HTML::Validator
  Sham> my "
  Sham>
  Sham> Global Symbol "url1" requires explicit package name at line 8
  Sham> Global Symbol "url1" requires explicit package name at line 9
  Sham>
  Sham> execution aborted due to compilation errors.
  Sham>
  Sham> Any help will be appreciated.
  Sham> Thanks in advance
  Sham> Sham

Should that be
  use HTML::Validator;
instead of 
  HTML::Validator

??

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto     <[EMAIL PROTECTED]>    The Goodyear Tire & Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.

Reply via email to