develooper Front page | perl.perl5.porters | Postings from January 2003

[perl #20575] generated perlbug report

Thread Next
From:
John M. Dlugosz
Date:
January 28, 2003 07:35
Subject:
[perl #20575] generated perlbug report
Message ID:
rt-20575-49782.14.7982318324917@bugs6.perl.org
# New Ticket Created by  "John M. Dlugosz" 
# Please include the string:  [perl #20575]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=20575 >


This is a bug report for perl from john@dlugosz.com,
generated with the help of perlbug 1.33 running under perl v5.8.0.


-----------------------------------------------------------------
The documentation in the "perlrun" page says the assumed code is
	while(<>)
in a few places.  Deparse actually shows it as
	while (defined($_ = <ARGV>))
Thinking about it again, I suppose this is indeed a correct
explaination since while(<>) expands magically itself into the
latter.  But, I think showing the full form in the documentation
here is better because not many people know that the 'defined' was
added to the while-diamond magic, it can be confusing that the
docs don't look like the results you get if you check for yourself,
and anyone who really cares about the generated code beyond the basic
textual description is doing something funny and telling him the
full story is better and more immediatly useful.

I'd be willing to make the edit myself and submit the changed file
for the approval of whoever is in charge of this.
-----------------------------------------------------------------
---
Flags:
    category=docs
    severity=low
---
This perlbug was built using Perl v5.6.1 - Mon Jun 17 21:32:50 2002
It is being executed now by  Perl v5.8.0 - Sun Dec  1 23:15:01 2002.

Site configuration information for perl v5.8.0:

Configured by ActiveState at Sun Dec  1 23:15:01 2002.

Summary of my perl5 (revision 5 version 8 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=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='cl', ccflags
='-nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES
_FCRYPT  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV
CRT_READFIX',
    optimize='-MD -DNDEBUG -O1',
    cppflags='-DWIN32'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='link', ldflags
'-nologo -nodefaultlib -release  -libpath:"C:\PROGRA~1\LANGUA~1\Perl58\lib\C
ORE"  -machine:x86'
    libpth="C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib"
"C:\Program Files\Microsoft Visual Studio\VC98\lib"
"C:\PROGRA~1\LANGUA~1\Perl58\lib\CORE"
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
    gnulibc_version='undef'
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ',
ddlflags='-dll -nologo -nodefaultlib -release  -libpath:"C:\PROGRA~1\LANGUA~
1\Perl58\lib\CORE"  -machine:x86'

Locally applied patches:
    ACTIVEPERL_LOCAL_PATCHES_ENTRY

---
@INC for perl v5.8.0:
    C:/Program Files/Languages/Perl58/lib
    C:/Program Files/Languages/Perl58/site/lib
    .

---
Environment for perl v5.8.0:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=C:\Program
Files\Languages\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;
C:\Program Files\Resource Pro Kit\;C:\Program Files\PGP;C:\Program
Files\Support Tools\;C:\Program Files\Utilities;C:\Program
Files\SysInternals;C:\Program Files\FileTools\InfoZip;C:\Program
Files\Graphics\ImageMagick-win2k;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\PROGRA~1\COMMON~1\MGISHA~1\Video
    PERL_BADLANG (unset)
    SHELL (unset)



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About