Help for this page

Select Code to Download


  1. or download this
    qw/STRING/
    
    ...
    A common mistake is to try to separate the words with comma or to put 
    +comments into a
    multi-line perlman:perlop-string. For this reason the -w switch produc
    +e warnings
    if the STRING contains the ``,'' or the ``#'' character.
    
  2. or download this
    split(' ',q/#FF0000 #00FF00 #0000FF/)
    
  3. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
    Possible attempt to put comments in qw() list at ./qw.pl line 4.
    #FF0000 #00FF00 #0000FF 
    #FF0000 #00FF00 #0000FF