Skip Menu |
Queue is disabled
This queue is disabled and you may not create new tickets in it. Disabled queues are usually because the distribution was merged with another or changed names. Sometimes they are the end result of a bad autocreate from PAUSE data before anyone noticed.
Report information
Id: 3311
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: D [at] i-works.com
Cc:
AdminCc:

Operating System: Linux
PatchStatus: (no value)
Severity: low
Type: notabug
Perl Version: 5.005_03
Fixed In: (no value)



Date: Thu, 1 Jun 2000 20:21:28 -0500 (CDT)
From: Tushar Samant <D [...] i-works.com>
To: perlbug [...] perl.com
Subject: use Fatal 'truncate' not very usable
Download (untitled) / with headers
text/plain 2.2k
This is a bug report for perl from tushar@zeppo.i-2.com, generated with the help of perlbug 1.26 running under perl 5.00503. ----------------------------------------------------------------- [Please enter your report here] prototype('CORE::truncate') is '$$', but truncate can also take a filehandle. This code doesn't compile: Show quoted text
> perl -c -Mstrict -MFatal=truncate -e 'truncate(F,0)'
Bareword "F" not allowed while "strict subs" in use at -e line 1. [Please do not change anything below this line] ----------------------------------------------------------------- --- Site configuration information for perl 5.00503: Configured by tushar at Mon Jul 12 10:58:12 CDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.0.32, archname=i586-linux uname='linux zeppo.i-2.com 2.0.36 #1 tue oct 13 22:17:11 edt 1998 i586 unknown ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O2', gccversion=2.7.2.3 cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include' ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt libc=, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: MAINT_TRIAL_1 - 5.005_03 maintenance trial 1 --- @INC for perl 5.00503: /home/tushar/lib/perl5/i586-linux /home/tushar/lib/perl5 /usr/lib/perl5/5.00503/i586-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i586-linux /usr/lib/perl5/site_perl/5.005 . --- Environment for perl 5.00503: HOME= LANG (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH= PERL5LIB= PERLMANPATH= PERL_BADLANG (unset) SHELL=/bin/zsh
Download (untitled) / with headers
text/plain 757b
Rereported as https://rt.cpan.org/Ticket/Display.html?id=56316 On Thu Jun 01 11:22:52 2000, D@i-works.com wrote: Show quoted text
> This is a bug report for perl from tushar@zeppo.i-2.com, > generated with the help of perlbug 1.26 running under perl 5.00503. > > > ----------------------------------------------------------------- > [Please enter your report here] > > prototype('CORE::truncate') is '$$', but truncate can also take a > filehandle. This code doesn't compile: >
> > perl -c -Mstrict -MFatal=truncate -e 'truncate(F,0)'
> Bareword "F" not allowed while "strict subs" in use at -e line 1. > > > [Please do not change anything below this line] > -----------------------------------------------------------------
-- Alexandr Ciornii, http://chorny.net


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org