X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=hRaQl7wY1rhlZ0Pk
	YLM/YNDYpfO42UxDGaU35Cw81p4xrJ8V/BjREeXypVsG2Pqs1lmiRPXJxDtCUE8z
	bKSmzzhmlWrlY+GY6mPjD6x59+6ZDlSnDIGMR4/YRFIKuJf1920o0ya+raOtDRkr
	ZOCIHJNbujdC/Dn/q1PXpOMpFJI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=tLNoHzo5z39H2PuBPlSJBC
	f6lE4=; b=j7fW+sMDcnnBB6dxLfsiaabpIdlORPEgLM3bVyXXxKrUGjIvU5TcaY
	2ETsbRa2je/GX9SKktd1ZkbpScK9DgZ6pPGqDelohDAD3kaazQvL2Pavh5lp0d2q
	RdwkLnQb4Xq7Wr0/mG3trfz43sor/VogEUUcV3mfjvEWU/N90cqKQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=wednesday, H*UA:Bat!, H*F:D*ru, documents
X-HELO: forward100p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1549413301;	bh=vDUzgTp0fCJWf4VtoxcpUzVXjOMsH2TfrCm3wYhXnTU=;	h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References;	b=J1r1jBnil0/QiexrWY6NrGJJgx1cLLunDk7p/+p8r8h+lSS8fY7rUffcsKiss1Q31	 jM+BdQ3S0GKUytZzTXrhLUl8fGdYRpSfvcCBYWA05ME1iBF2ak2nkwEjfr78am1gzo	 BY3rz4bUlNuLq6zY3m8DTs4qZ8YUN5APNBy8+Jgk=
Authentication-Results: mxback20j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 6 Feb 2019 03:25:10 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1429076569.20190206032510@yandex.ru>
To: L A Walsh <cygwin@tlinx.org>, cygwin@cygwin.com
Subject: Re: perl -- classic?
In-Reply-To: <5C5A28EB.7090804@tlinx.org>
References: <5C58BD83.5060806@tlinx.org>   <CAHSx_SuD++hhsvKkAsrNcexnPtzV-qts_ApMP7V9b74K+Rzkvw@mail.gmail.com>  <5C5A28EB.7090804@tlinx.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, L A Walsh!

> On 2/4/2019 4:18 PM, Wayne Davison wrote:
>> On Mon, Feb 4, 2019 at 2:33 PM L A Walsh wrote:
>>   
>>> Things like
>>> Term::Size::chars no longer works as it says chars isn't exported.
>>> but it is 'EXPORT_OK', and it used to work.
>>>     
>>
>> Remember that EXPORT_OK means that you can ask for it to be exported,
>> but it's not by default.  I just tried out CPAN 2.22 with perl 5.26.3
>> and ran a CPAN "install Term::Size" and the result worked fine:
>>
>> perl -we 'use Term::Size "chars"; print join("\n",  chars), "\n";'
>> perl -we 'use Term::Size; print join("\n",  Term::Size::chars), "\n";'
>>
>> I haven't seen any issues in the various CPAN modules that I added to my setup.
>>   

>     Yes...it worked for me up till the latest perl.  I was surprised.

STC ?

> The man page documents usage as:

>        "Term::Size::chars" returns the size in units of characters, whereas
>        "Term::Size::pixels" uses units of pixels.

>        In a scalar context, both functions return the first element of the
>        list, that is, the terminal width.

>        The functions may be imported.


-- 
With best regards,
Andrey Repin
Wednesday, February 6, 2019 3:24:48

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

