in reply to Re: JavaScript in CGI
in thread JavaScript in CGI

broquaint, Thank you for your quick reply and answer!
I am not familiar with the "qq" and puttin the brackets around the print statements. Are these some CGI functions and syntax?? How can I find more about this?

Replies are listed 'Best First'.
Re: Re: Re: JavaScript in CGI
by nothingmuch (Priest) on Oct 29, 2002 at 19:40 UTC
    qq has the same effect of double quotes. It may be used to tell perl to work as if the string inside the qq range is enclosed with '"'. The difference is that the charecter immediately following qq will be the delimiter, instead of '"'. You can use nearly anything that's not whitespace. If you use some kind of embracing character, such as '{', '[', or '(', then you have to close with the relevant closing brace.

    More operators such as qq are discussed in perlop, as was referenced by broquaint. To list a few:
    q - same effect as using single quotes (')
    qw - break words to a list (qw(foo bar) == ("foo","bar");)


    -nuffin
    zz zZ Z Z #!perl
      thanks(again)!