> -----Original Message-----
> From: Kyle Babich [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 3:49 PM
> To: [EMAIL PROTECTED]
> Subject: invalid
> 
> 
> Why is this invalid and how do I make this valid while using 
> strict subs?
> 
>  } elsif ($c2 eq "hd") {
>      $content2 = include{helpdesk/support.cgi};

If you want to see how Perl is interpreting this, do:

   $ perl -MO=Deparse -e '$content2 = include{helpdesk/support.cgi};'

which emits
   
   $content2 = do { 'helpdesk' / 'support' . 'cgi' }->include;

Which is not what you mean, I assume. What are you trying to do?
What is "include?" A sub? A hash? "helpdesk/support.cgi" almost
certainly needs to be enclosed in quotes. Or maybe the whole
expression should be in quotes. I really can't tell.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to