Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for perlop.pod #1485

Closed
p5pRT opened this issue Mar 24, 2000 · 6 comments
Closed

fix for perlop.pod #1485

p5pRT opened this issue Mar 24, 2000 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Mar 24, 2000

Migrated from rt.perl.org#2694 (status was 'resolved')

Searchable as RT2694$

@p5pRT
Copy link
Author

p5pRT commented Mar 24, 2000

From lvirden@cas.org

Created by lvirden@cas.org

Inline Patch
--- perlop.pod.bak	Sun Mar 19 01:17:07 2000
+++ perlop.pod	Fri Mar 24 14:54:20 2000
@@ -1414,3 +1414,3 @@
 Interpolated scalars and arrays are converted internally to the C<join> and
-C<.> catentation operations.  Thus, C<"$foo XXX '@arr'"> becomes:
+C<.> catenation operations.  Thus, C<"$foo XXX '@arr'"> becomes:
 
Perl Info

Flags:
    category=docs
    severity=low

Site configuration information for perl v5.6.0:

Configured by lwv26 at Thu Mar 23 08:53:11 EST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos lwv26awu 5.6 generic_105181-19 sun4u sparc sunw,ultra-5_10 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-g', gccversion=
    cppflags='-DDEBUGGING -I/projects/gnu/sparc-sun-solaris2.6/include -I/vol/lwv26ldatae/include'
    ccflags ='-DDEBUGGING -I/projects/gnu/sparc-sun-solaris2.6/include -I/vol/lwv26ldatae/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-R/vol/SUNWspro/SC5.0/lib:/projects/gnu/sparc-sun-solaris2.6/lib:/vol/lwv26ldatae/lib -L/vol/SUNWspro/SC5.0/lib -L/usr/lib -L/usr/ccs/lib -L/projects/gnu/sparc-sun-solaris2.6/lib -L/vol/lwv26ldatae/lib '
    libpth=/vol/SUNWspro/SC5.0/lib /usr/lib /usr/ccs/lib /projects/gnu/sparc-sun-solaris2.6/lib /vol/lwv26ldatae/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/vol/SUNWspro/SC5.0/lib -L/usr/lib -L/usr/ccs/lib -L/projects/gnu/sparc-sun-solaris2.6/lib -L/vol/lwv26ldatae/lib  -R/vol/SUNWspro/SC5.0/lib:/projects/gnu/sparc-sun-solaris2.6/lib:/vol/lwv26ldatae/lib'

Locally applied patches:
    


@INC for perl v5.6.0:
    /home/lwv26/lib/perl5/
    /projects/sprs_lwv/lib/perl5/
    /vol/lwv26ldatae/lib/perl5/5.6.0/sun4-solaris
    /vol/lwv26ldatae/lib/perl5/5.6.0
    /vol/lwv26ldatae/lib/perl5/site_perl/5.6.0/sun4-solaris
    /vol/lwv26ldatae/lib/perl5/site_perl/5.6.0
    /vol/lwv26ldatae/lib/perl5/site_perl
    .


Environment for perl v5.6.0:
    HOME=/home/lwv26
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/lprod/cas/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib
    LOGDIR (unset)
    PATH=/vol/SUNWspro/bin:/ldatae/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/home/lwv26/bin/D.news:/usr/perl5/bin:/projects/gnu/sparc-sun-solaris2.6/bin:/usr/tcl82/sun4/bin:/usr/tcl82/bin:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/usr/atria/bin:/projects/intranet/bin:/projects/clearcase/bin:/vol/tclsrcsol/TclPro1.3/solaris-sparc/bin:/ldata2/teTeX/bin/sparc-sun-solaris2.6:/vol/adobe/Acrobat3/bin:/ldata/bin:/home/lwv26/bin/D.aws:/home/lwv26/bin/sol2:/home/lwv26/bin/D.frontend:/home/lwv26/bin/D.ksh:/cas/test/bin/sun4:/projects/sprs_lwv/bin/sol2:/usr/java1.2/bin:/home/lwv26/bin/sun4:/lprod/cas/bin:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/uprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/home/lwv26/bin:/cas/tools/pdbin/sun4:/home/lwv26/bin/D.mistypes:/home/lwv26/bin/D.toys:/home/lwv!
26/bin/D.tools:/projects/npd/npdweb/bin-sol2:/vol/tclsrcsol/TclPro/solaris-sparc/bin
    PERL5LIB=/home/lwv26/lib/perl5/:/projects/sprs_lwv/lib/perl5/:
    PERLDOC=-t
    PERLLIB=/home/lwv26/lib/perl:/projects/sprs_lwv/lib/perl:
    PERL_BADLANG (unset)
    SHELL=/bin/ksh

-- 
<URL: http://dev.scriptics.com/>
<URL: mailto:lvirden@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
-><-


@p5pRT
Copy link
Author

p5pRT commented Mar 24, 2000

From @tamias

On Fri, Mar 24, 2000 at 02​:57​:45PM -0500, Larry W. Virden wrote​:

This is a bug report for perl from lvirden@​cas.org,
generated with the help of perlbug 1.28 running under perl v5.6.0.

-----------------------------------------------------------------
[Please enter your report here]
--- perlop.pod.bak Sun Mar 19 01​:17​:07 2000
+++ perlop.pod Fri Mar 24 14​:54​:20 2000
@​@​ -1414,3 +1414,3 @​@​
Interpolated scalars and arrays are converted internally to the C<join> and
-C<.> catentation operations. Thus, C<"$foo XXX '@​arr'"> becomes​:
+C<.> catenation operations. Thus, C<"$foo XXX '@​arr'"> becomes​:

For consistency, this should probably be "concatenation".

  Binary "." concatenates two strings.

Ronald

@p5pRT
Copy link
Author

p5pRT commented Mar 24, 2000

From [Unknown Contact. See original ticket]

For consistency, this should probably be "concatenation".

Binary "." concatenates two strings.

Unless you reserve call "." the catenation operator and
call ".=" the *con*catenation operator. :-)

--tom

@p5pRT
Copy link
Author

p5pRT commented Mar 24, 2000

From [Unknown Contact. See original ticket]

Here. You tell me whether you see any difference between these. :-)

--tom

+--------------+
| concatenate |
+--------------+

Etymology​: ad. L. concatenat-us, pa. pple. of concatenare​: see next, and
-ate[2].

Chained together (obs.); linked together; concatenated. In Entom., etc. said
of rows of processes connected by ridges, or the like.

  * 1471 Ripley Comp. Alch. ii. v. in Ashm. (1652) 136 - The Elements be so
  concatenat.
  * 1678 Cudworth Intell. Syst. 652 - Thus are all the genuine attributes
  of the Deity..inseparably concatenate.
  * 1871 M. Cooke Fungi (1874) 131 - Sporidia..attached together in fours
  in a concatenate or beaded manner.

Hence con'catenateness, `the being linked together' (Bailey 1730-6).

+-----------+
| catenate |
+-----------+

Etymology​: f. L. catenat- ppl. stem of catenare (f. catena chain); see
-ate[3].

1 trans. To connect like the links of a chain, to link, to string together;
to form into a catena or series. Hence 'catenated ppl. a.

  * 1623 Cockeram, - Catennate, to chaine.
  * 1656 Blount Glossogr., - Catenate, to link, chain or tie.
  * 1794-6 E. Darwin Zoon. (1801) I. 112 - If this activity be catenated
  with the diurnal circle of actions.
  * A. 1876 J. H. Newman Hist. Sk. II. v. v. 477 - He fused those catenated
  passages into one homogeneous comment.
  * 1876 Maudsley Phys. Mind v. 308 - A transference of energy from one to
  another of the catenated cells.

2 fig. (humorously.) To bind as with a chain.

  * 178. Mock Ode in Boswell Johnson (1816) IV. 428 - This gigantic
  frame..catenated by thy charms, A captive in thy ambient arms.

@p5pRT
Copy link
Author

p5pRT commented Mar 24, 2000

From @tamias

On Fri, Mar 24, 2000 at 03​:40​:25PM -0700, Tom Christiansen wrote​:

Here. You tell me whether you see any difference between these. :-)

+--------------+
| concatenate |
+--------------+

+-----------+
| catenate |
+-----------+

In the POD for 5.005_03, there are 17 matches for /concatenat/i and only 1
match for /\bcatenat/i. As I said, *for consistency*, it is probably
preferable to refer to C<.> as the 'concatenation operator'.

Ronald

@p5pRT
Copy link
Author

p5pRT commented Mar 24, 2000

From [Unknown Contact. See original ticket]

In the POD for 5.005_03, there are 17 matches for /concatenat/i and only 1
match for /\bcatenat/i. As I said, *for consistency*, it is probably
preferable to refer to C<.> as the 'concatenation operator'.

% cd /usr/local/src/perl-5.6.0

% tcgrep -ri '\bcatenat' README* lib pod
README.Y2K​: catenates a number with the string "19" -- a common
lib/Config.pm​:This variable contains an identification of the catenation mechanism
lib/File/Spec/Unix.pm​:Unix, $volume is ignored, and directory and file are catenated. A '/' is
lib/overload.pm​:overloaded catenation operator, otherwise absurd results will result.
lib/overload.pm​:C<"[$meth $a $b]"> is a catenation of some strings and components $a
lib/overload.pm​:and $b. If these components use overloading, the catenation operator
pod/perlop.pod​:described above, and possibly after evaluation if catenation,

It's rarer, but hardly a singleton.

--tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant