Formatting of qw is not working as expected
use strict;
no strict qw / refs/;
use warnings;
use utf8;
use CGI qw /:standard/;
use DateTime::Format::ISO8601;
use DBD::mysql;
use DBI;
use Encode qw / encode_utf8/;
use HTTP::Request qw / /;
use HTTP::Request::Common qw / GET POST/;
use IO::Handle qw / input_record_separator/;
use JSON qw / encode_json decode_json/;
use LWP::Simple qw / get/;
use LWP::Debug qw /+conns/;
use LWP::UserAgent;
use Math::Random::Secure qw / irand/;
use MIME::Base64 qw / /;
use POSIX qw / strftime/;
use String::Random;
( see the attached screenshot )
Some observations:
works properly:
works properly:
doesn't work properly:
works properly:
doesn't work properly:
works properly:
doesn't work properly:
works properly:
It looks like
qw ( LIST )works properly always, butqw / LIST /works properly only if the LIST contains odd number of entities.Furhtermore,
qw /:standard/doesn't work, althought the LIST contains just odd number of entities, howeverqw / strftime/works fine, as well asqw /+conns/, so in this particular case the:character seems to be the one that cause the problem.