Front page | perl.perl5.porters |
Postings from October 2014
[perl #123090] Not enough arguments for map
Thread Previous
|
Thread Next
From:
Herington
Date:
October 31, 2014 14:49
Subject:
[perl #123090] Not enough arguments for map
Message ID:
rt-4.0.18-20764-1414702541-262.123090-75-0@perl.org
# New Ticket Created by Herington, Dean
# Please include the string: [perl #123090]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=123090 >
This is a bug report for perl from dean.herington@emc.com,
generated with the help of perlbug 1.39 running under perl 5.16.3.
-----------------------------------------------------------------
I don't understand the following error. I think the result of the
following statement should be the same as the similar one shown later.
DB<1> p map { a => 1 } 1,2,3
Not enough arguments for map at (eval 9)[C:/Perl/lib/perl5db.pl:646] line 2, near "} 1"
syntax error at (eval 9)[C:/Perl/lib/perl5db.pl:646] line 2, near "} 1"
DB<2> $a = 'a'
DB<3> p map { $a => 1 } 1,2,3
a1a1a1
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl 5.16.3:
Configured by gecko at Wed Mar 13 11:25:21 2013.
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='C:\PROGRA~1\HASKEL~1\201320~1.0\mingw\bin\gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields',
optimize='-O2',
cppflags='-DWIN32'
ccversion='', gccversion='realgcc.exe (GCC) 4.5.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='C:\PROGRA~1\HASKEL~1\201320~1.0\mingw\bin\g++.exe', ldflags ='-L"C:\Perl\lib\CORE"'
libpth=\lib
libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"'
Locally applied patches:
ACTIVEPERL_LOCAL_PATCHES_ENTRY
---
@INC for perl 5.16.3:
T:\ADE\PerlInc
C:/Perl/site/lib
C:/Perl/lib
.
---
Environment for perl 5.16.3:
HOME=W:\
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=C:\Program Files\ImageMagick-6.8.9-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Haskell\bin;C:\Program Files\Haskell Platform\2013.2.0.0\lib\extralibs\bin;C:\Program Files\Haskell Platform\2013.2.0.0\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\EMC;C:\PROGRA~1\COMMON~1\EMC;T:\ADE\bin;C:\GnuWin32\bin;C:\Program Files\Haskell Platform\2013.2.0.0\mingw\bin;C:\rcs57pc\bin\win32;C:\Program Files\EMC\Navisphere CLI;C:\Program Files\Graphviz 2.28\bin;C:\Users\herind\AppData\Roaming\cabal\bin;W:\bin
PERL5LIB=T:\ADE\PerlInc
PERL_BADLANG (unset)
SHELL (unset)
Thread Previous
|
Thread Next