Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Using # inside qw()

by wind (Priest)
on Aug 16, 2014 at 08:04 UTC ( [id://1097651] : note . print w/replies, xml ) Need Help??


in reply to Using # inside qw()

You can turn the warnings off for your usage of qw
use strict; use warnings; my @c = do { no warnings 'qw'; qw' # % ( / 3 6 7 @ B C G Q R ^ s t ~ ' }; print $c[2];
- Miller

Replies are listed 'Best First'.
Re^2: Using # inside qw()
by Anonymous Monk on Aug 16, 2014 at 08:11 UTC
    Hah, these days I dd()umper everything, no warnings either :)
    my @c = ( "#", "%", "(", "/", 3, 6, 7, "\@", "B", "C", "G", "Q", "R", "^", "s", "t", "~", );
    naturally I perltidy also