Skip Menu |
 

This queue is for tickets about the Net-IMAP-Simple CPAN distribution.

Report information
The Basics
Id: 128564
Status: new
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: Nobody in particular
Requestors: tlhackque [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Ymail-Osg: M1bxFJ8VM1kpSCWpyncveUzqeT1PSay7Y3ohapKM3YP5VV9u6gPSPNHhVEnNDqb 0a8t8zAuFUuyDzm_Tr24A_4U.YZaP0ywZhuo11LYrGayqdog_iNtSuCtjVjdsJDQcKOB8.Lt._Wt tB37nzM7p9ZLTVg6C6sW8VYo1HPe.TqAbpgCgdjOpQ7iBUGymG7LK_ub16YMVP46GhAMNJwhHInb uess53VjpNrtG2OIsZ0rCBXk_aHy9I.0FkHJ0VMvbSJO2fnfE_9Wk04sxf.HeOVsf.KCil96dH5B jOsB7h_35kaCWPPEhtoPZkGCxJo7xOTSanvIbkd9VWDYrK7KOlgxgDEHWAzWXAl0ViX8wKRxvdkR .JG51o4xTLhJDnwhqE2CBrtWA9TAO06AmN2DlRfCcKQRlJuOTtwkG5K92BUxdcE8MOk9sAf31wu_ Uiu_WGEnK_FduPkh970VqsI.x1wacjiuMozs2kd89jQ4rfwsF.XY42P8uM.H7zLPL_z53ZZ8H852 cEW8fOttkp_LK9QXWaITiwyU1f_wEKy21aiIO2J8AReX_tSYgspYQrpj5ecfPWr_8taBxo0pYlVJ ITNaH7pxoqBxl94m6N7N1ZLa1mWP4s_CcaIPZLAomjaLtLDcGlETWdfPDynWH2glDePHMqTlkdx0 sUczfsPE4waMHBGNEZMTnjiUO8TLho_tvB0Bj20w8ybwbz785Ao1rePHOtcNmOwbquANNKp2pdl2 bvv7Yn7CnM13NMNc9oUl65lEm5h95pV8AkCptc_DatWxnwEgk3ps8mPT.CrWyVMeyxC9nENylaYr DIpiP8hRms3TgcbuZtqyJmku9okT8yROXTWU94HHxDQzDV4Pw09qu8aftwiLxHWe32Mc.Hk6o_Y4 11dW3jSibmxEZMJA9Vn88DTz1qA8trrMzzhFi7A4sRqZMZN5fYgCDSXcd.1b.HYaiPP_ykgnq2VJ NWGybxRLlS5ciYkNwNbe3w_abjWJ4R2UrLxRvVUpXKR6FxpNPJYY0Bm0buw1vi5g4r.VZn7ANyWi FYAFYSYt3NB3zvqxuizLqT.tAiohLS0AP6Q--
X-Spam-Status: No, score=0.411 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_NEUTRAL=0.779] autolearn=no
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Language: en-US
Content-Type: multipart/alternative; boundary="------------411B914D232BC922BBECF81D"
Message-ID: <4d0a13f0-16c6-28c0-32df-252143fb3a07 [...] yahoo.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Autocrypt: addr=tlhackque [...] yahoo.com; prefer-encrypt=mutual; keydata= mQINBFaj1ckBEADJXt3e995VS2xGluquNDnxCt1eROGmRPrPhi8l+cphv85Ur/GenVmmNXoo ve2+3NJF94uFNzBfxbBvQcwNdckbgyudVpSgGROi1dMRIhVLIgG6I8OWxIlevZo9pL25UCIX avRtvgRBdy79noUG3HKAq68nre7UKJswGhYgIunKGdYYOdloa5n+3Y7ml9FSt9mOoTOgQhF2 4H/yEqh0rVrCAA+nX7mFWh0aY3/BM4tg5GkhuA5uP0ic5Qj/GT7apgQlPh+72ZbkGVugV10w X6iSmHW9fyJvLKNsVyU7tHnBt1dxnX1DK319v3ddc6oLsO1pf4MNBd3pP6/X6aVotG/e/ZgP IQ9sx68Ph6GtxUJWdcY+Be+eeUOf+CekXVqlso6OH0hu9ud2Jy1DKAXFg4Xie04MHc7AhfHz XwJS8E73cazTDLlw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9mIhr/ SjuQLWW+29FNzSYJcYKyZdWuCp2ujYZYU3QNqCf+0dF8sGDvNglf9GVGWavJRjihZzMSaXQn QLt3lKwtXCgIUVyIOwMWy8Kuz0rYZxcQitBPmJZnrRhq+AZErVUF3gS9XTNwOmIkfrT6OJ5Q xd/GbOjYQPMWZro52eT065O479xqI5RoMVXL4L9RxTAGIo0GTrskAcxWKKPporjsPefIloaF 4o/XxYqewUaBRaNF8Egz6wYXJ7BBlocMBKj8e7Xgcx5GE4ES3vM7FxIEvUTY8typVkSKjg4g STUnuJYX6MAOeEwzm6HDfmkHg2nOjimtScEQp2Q2wx6MNhzCk2gQ/BKbCZDq1aGDJgHWj6dI ac+yVWI=
X-Spam-Score: 0.411
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6BC39240266 for <cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com>; Wed, 20 Feb 2019 08:47:12 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8RDiOj4Z9RD1 for <cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com>; Wed, 20 Feb 2019 08:47:11 -0500 (EST)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 91AE32400C9 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 08:47:10 -0500 (EST)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 668BF7C1B3 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 05:47:09 -0800 (PST)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 6D9597CCC3 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 05:47:07 -0800 (PST)
Received: from sonic308-10.consmr.mail.ne1.yahoo.com (sonic308-10.consmr.mail.ne1.yahoo.com [66.163.187.33]) by xx1.develooper.com (Postfix) with ESMTP id 4D5B67C1B3 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 05:46:59 -0800 (PST)
Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 20 Feb 2019 13:46:58 +0000
Received: from vvv.litts.net (EHLO [192.168.148.110]) ([96.233.62.62]) by smtp418.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID efb252ce3675d79057e004cf3ede257e for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 13:46:53 +0000 (UTC)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] yahoo.com
Delivered-To: cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
Subject: Yes, slfags should be exposed
Return-Path: <tlhackque [...] yahoo.com>
X-RT-Mail-Extension: net-imap-simple
X-Original-To: cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1550670418; bh=gtLxRFRdjW9fbF/tbHZYUis4rFC/jif6zHHsHfT+ZNk=; h=To:From:Subject:Date:From:Subject; b=L62YQRKPPw7wsKZR8OWfoks2noUF0OWJ6cc0l1B0sN7yoPHZOH+PGAoqLOamAsG1y/gaDfWiDkNRHf6WklbpExkiYTzI5F2+koSWCslsryvGV80SW0TJLVeTQQ6MygRYqT0SBgn1xwv/ISiMB/jE6wwN3Lqu0zmzkAfu1nFDzfSeWiCvhYU4LxjHmPPoHarMBZxM1bPdBKLfpwl+w6ynaJ3VLagRA9+OEX1eTIeqYzSuaTOs9Lg64uMz9+qqkF6QTaOKLPaZ07XUR2AfBoh6O8ur9+Aq5yueFGXZO0CXLgxlvPfoFYk2rB76ySk2ogdK+PxSJ2lfIY08lBsxt0RVrw==
Openpgp: preference=signencrypt
X-PMX-Spam: Gauge=X, Probability=10%, Report=' HTML_90_100 0.1, HTML_95_100 0.1, HTML_98_100 0.1, HTML_99_100 0.1, HTML_FONT_INVISIBLE 0.1, HTML_NO_HTTP 0.1, FROM_NAME_ONE_WORD 0.05, BODYTEXTH_SIZE_3000_MORE 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_10000_PLUS 0, DATE_TZ_NA 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, WEBMAIL_SOURCE 0, __BAT_BOUNDARY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_YAHOO 0, __FUR_RDNS_YAHOO 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_YAHOO 0, __HIGHBITS 0, __HTML_BOLD 0, __HTML_TAG_DIV 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_WEBMAIL 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0, __zen.spamhaus.org_ERROR '
Date: Wed, 20 Feb 2019 08:46:52 -0500
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.2.20.133916
To: bug-Net-IMAP-Simple [...] rt.cpan.org
From: tlhackque <tlhackque [...] yahoo.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1968
Download (untitled) / with headers
text/plain 1.9k
Simple.pm at line 405 says:     # NOTE: the sflags really aren't used anywhere, should they be? Yes, they should. They indicate which flags can be set permanently on the server, and in particular, the \* flag in this response indicates whether new keywords can be created. I suggest the following simple change to the 'flags' method: |sub| |flags {| |    ||my| |( ||$self||, ||$folder| |) = ||@_||;|   |    ||$self||->||select||(||$folder||);|   |    ||return| |@{ ||$self||->{BOXES}{ ||$self||->current_box }{flags} || [] };| |}|   becomes: (add $permflags and first "return") |sub| |flags {| |    ||my| |( ||$self||, ||$folder|, $permflags |) = ||@_||;|   |    ||$self||->||select||(||$folder||);|   |  ||return| |@{ ||$self||->{BOXES}{ ||$self||->current_box }{sflags}{PERMANENTFLAGS} || [ ' ' ] } if( $permflags );|   |  ||return| |@{ ||$self||->{BOXES}{ ||$self||->current_box }{flags} || [] };| |||| |}|   You can then remove the NOTE. And the POD becomes |=item flags|   |    ||print "Available server flags: " . join(", ", $imap->flags) . "\n";|   |This method accepts an optional folder name and optional boolean, "$permflags| |and returns the current available| |server flags as a list, for the selected folder. If no folder name is provided| |the last folder C<< $imap->select >>'ed will be used.| If the $permflags boolean is specified, the flags that the server allows to be set permanently are returned. The flag '\*' indicates that new keywords can be created. If the list ( ' ' ) is returned, the server did not provide an explicit list, and "all flags" should be assumed. To specify $permflags & default $folder, use 'undef' for $folder. |This method uses caching.|   I noted in passing that line 369 (in sub select) defaults $mbox to $self->current_box 'unless $mbox'. This won't work if you happen to have a folder named '0' - stranger things have happened. The clause should be 'unless defined $mbox'.
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
X-RT-Original-Encoding: utf-8
Content-Length: 131110

Message body is not shown because it is too large.

MIME-Version: 1.0
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -1.59
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] yahoo.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id AED032400E0 for <cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com>; Wed, 20 Feb 2019 09:03:56 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zNBMZp2PEyhE for <cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com>; Wed, 20 Feb 2019 09:03:51 -0500 (EST)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id DC15A2400C9 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 09:03:50 -0500 (EST)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 2868F7C1B3 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 06:03:50 -0800 (PST)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 8D5DE7CED0 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 06:03:48 -0800 (PST)
Received: from sonic314-20.consmr.mail.ne1.yahoo.com (sonic314-20.consmr.mail.ne1.yahoo.com [66.163.189.146]) by xx1.develooper.com (Postfix) with ESMTP id E81F37C1B3 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 06:03:46 -0800 (PST)
Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Wed, 20 Feb 2019 14:03:45 +0000
Received: from micro.litts.net (EHLO [192.168.148.110]) ([96.233.62.62]) by smtp427.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 1becea59d241b59cb58cd712ec2a9e40 for <bug-Net-IMAP-Simple [...] rt.cpan.org>; Wed, 20 Feb 2019 14:03:43 +0000 (UTC)
Delivered-To: cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #128564] Uncorrupted version
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1550671425; bh=ASSznSFiy8RyARHPXQQK3NWJTDvht94km9+1JfP/Kjo=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=NSUnzSsOyyetSl86zc+MHGjtcJ7eQcT/IZMIwq9cuMd9JCcMsYVJmDUDfu91lJWyBTzIAxkt3P8D8RoJzA+ZrFDmJ6BOpSAC+cihzz6FNBU78X9T3YCyH/fHd38c10XopItyirwV3niOwzj1B11gEP7ROqcjcShG0OPQe1vHExFUcp9gFpfQIP3mMYQagvLOMnsSjTl3fov4fApKCw30w/Ry9A+cz5H55dSJvGiTCyTvXmLIvOhYtTWMmxrsu0fOneJrdOUqCsZwwcE9ecwbNatzOq7iTSQ1Lg1AL5+NoFHxuRA8DFd6ViCwNwa1sqsOPHNF62XR+/FLrS1GyHSmXw==
Openpgp: preference=signencrypt
Date: Wed, 20 Feb 2019 09:03:41 -0500
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FROM_NAME_ONE_WORD 0.05, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_URI_HTTPS 0, REFERENCES 0, SPF_PASS 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_YAHOO 0, __FUR_RDNS_YAHOO 0, __HAS_FROM 0, __HAS_MSGID 0, __HELO_YAHOO 0, __HIGHBITS 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __PHISH_SPEAR_STRUCTURE_2 0, __RDNS_WEBMAIL 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0, __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.2.20.135716
To: bug-Net-IMAP-Simple [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
X-Ymail-Osg: PVg.KdoVM1nVNd7fAElYh2T91fMybS9Y7.D3F3kgzDVUuRH8sCgkwxTAOF1cFrV GWk17NAq9eBGAaUNp7aACKgPouJsoE7Ge4vGcw3sa8vIDtXQ.PMDnzvJKp3YoK_0wFrcgsxqXM2o WJulG98zDMuO87x2J6QBUrlX11ZkVYbNDI5WIvrydxf0BUZR8.qy5bxXqC_gppwTZu7L8RfqtcqS OHUi4TTZFe.EGrC8TO8AkxM2h3lXrYIQHEqIkSnXBom46L_uF8e_TMGzzxkunmK0dVg3lfSZsLm9 Mx001GxRyZnoqN5ycHDXoWwO9paGrYC0JAm3abw5yWREeKaA_.SpBQEUDiO7JvyvjD1wft0TkiVV Xr1e0xVZkXkaNtemW_c.M5SYJqzrZsedLnVp12VKGy8qWBdSj1OBgEUIoaqAdK3tZm.h64dJYspE VauARAuhCMrX5wz8fRcuHTUyhG_cfIk0CJxMfx2eFqOnFypy0SVl3z7vCte.SfybwDtvv.zFJN.V drcHXl.wN3KygprAoQ6qO99Hu3yNvuJR65k.eKdcpryQIN0.9Gpu4OB6P1WnAyVGEZU4NbEHmyyJ J9F.MuM0wUSmv.aXKe7dMsV5wecjJP8OxryyJv.M6GBrYJTdLeFIGY3LEZsVitJBQf0Xgr4oNlui dnjEZlKFrt20U7GIMx4Nu3HW4Ihi1YKDVyHdgRe3PeTawXbXl7AkpNdVgzGlXoILlx9InQpohW4X HuGdu8HETH0EqJQRH0cmCsiZj0cqJu2EC_nmmf7sv3_Wfc9KZYsLZ.HMM37RRnfPuUveMm93SNsI aFRLofAg7BMbOqZxxLcrmPEGMGWUxPSbKboQyU.oAflDWaYD4E4etjGgoTs.i_eTAZPfmielQjYl ATAzJ7KGjLf2W3O5Uhjw_y1LC.GDN2cv2EFrJ4jIid9HY.d9ig7ffPIicv.jIuTLb3YlT6nnGxmC 5gqvW_T8vQA4KgHphN2CW4r53f.Byb.8SpaEWv3r_fqLuT8PPxSYGO1KdHyGRgsUn_zcha0N8x9Y 1UHTehTskfwXfZofJRu1vNxtWqmFlAKWLIJst
In-Reply-To: <rt-4.0.18-12847-1550670434-1118.128564-3-0 [...] rt.cpan.org>
X-Spam-Status: No, score=-1.59 tagged_above=-99.9 required=10 tests=[AWL=2.000, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, SPF_NEUTRAL=0.779] autolearn=ham
X-RT-Interface: API
Content-Language: en-US
References: <RT-Ticket-128564 [...] rt.cpan.org> <4d0a13f0-16c6-28c0-32df-252143fb3a07 [...] yahoo.com> <rt-4.0.18-12847-1550670434-1118.128564-3-0 [...] rt.cpan.org>
Message-ID: <6db1281c-2a41-da1a-0995-e9c7d4cdbeeb [...] yahoo.com>
Autocrypt: addr=tlhackque [...] yahoo.com; prefer-encrypt=mutual; keydata= mQINBFaj1ckBEADJXt3e995VS2xGluquNDnxCt1eROGmRPrPhi8l+cphv85Ur/GenVmmNXoo ve2+3NJF94uFNzBfxbBvQcwNdckbgyudVpSgGROi1dMRIhVLIgG6I8OWxIlevZo9pL25UCIX avRtvgRBdy79noUG3HKAq68nre7UKJswGhYgIunKGdYYOdloa5n+3Y7ml9FSt9mOoTOgQhF2 4H/yEqh0rVrCAA+nX7mFWh0aY3/BM4tg5GkhuA5uP0ic5Qj/GT7apgQlPh+72ZbkGVugV10w X6iSmHW9fyJvLKNsVyU7tHnBt1dxnX1DK319v3ddc6oLsO1pf4MNBd3pP6/X6aVotG/e/ZgP IQ9sx68Ph6GtxUJWdcY+Be+eeUOf+CekXVqlso6OH0hu9ud2Jy1DKAXFg4Xie04MHc7AhfHz XwJS8E73cazTDLlwnqLicqBdFL1htgHICo6735Y6Ykr0GYzA2+Ypy7LtN5n4FnM6N+ePXAwt oTmOhX6hbUApeDUgFvnSfTxyyar2PpavTQCwtKemJ0M0CglgXmvK95F2qyuRK4QZoN2eXZky z8Qfobh13rk1I+L0LHQhfolVP94KHtUXK1qjnufU3oOx8lvvibqwxfzDzIMxhP6qWzOqWzRy lCVoatLUbWvv0ICZ3eITcXpAQIPY2vFrv8DniuyVkQNBSKyZEwARAQABtB90bGhhY2txdWUg PHRsaGFja3F1ZUB5Y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8typVkSKjg4g STUnuJYX6MAOeEwzm6HDfmkHg2nOjimtScEQp2Q2wx6MNhzCk2gQ/BKbCZDq1aGDJgHWj6dI ac+yVWI=
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
Return-Path: <tlhackque [...] yahoo.com>
X-RT-Mail-Extension: net-imap-simple
X-Original-To: cpan-bug+Net-IMAP-Simple [...] hipster.bestpractical.com
From: tlhackque <tlhackque [...] yahoo.com>
RT-Message-ID: <rt-4.0.18-12847-1550671437-1349.128564-0-0 [...] rt.cpan.org>
Content-Length: 1979
Download (untitled) / with headers
text/plain 1.9k
For some reason the report was garbled.  Sorry about that.  Here is another attempt (same content, hopefully without the extraneous stuff). Simple.pm at line 405 says:     # NOTE: the sflags really aren't used anywhere, should they be? Yes, they should.  They indicate which flags can be set permanently on the server, and in particular, the \* flag in this response indicates whether new keywords can be created. I suggest the following simple change to the 'flags' method: sub flags {     my ( $self, $folder ) = @_;       $self->select($folder);       return @{ $self->{BOXES}{ $self->current_box }{flags} || [] }; }   becomes: (add $permflags and first "return") sub flags {     my ( $self, $folder, $permflags ) = @_;       $self->select($folder);     return @{ $self->{BOXES}{ $self->current_box }{sflags}{PERMANENTFLAGS} || [ ' ' ] } if( $permflags );     return @{ $self->{BOXES}{ $self->current_box }{flags} || [] }; }   You can then remove the NOTE. And the POD becomes =item flags       print "Available server flags: " . join(", ", $imap->flags) . "\n";   This method accepts an optional folder name and optional boolean, "$permflags and returns the current available server flags as a list, for the selected folder. If no folder name is provided the last folder C<< $imap->select >>'ed will be used. If the $permflags boolean is specified, the flags that the server allows to be set permanently are returned. The flag '\*' indicates that new keywords can be created. If the list ( ' ' ) is returned, the server did not provide an explicit list, and "all flags" should be assumed.  To specify $permflags & default $folder, use 'undef' for $folder. This method uses caching.   I noted in passing that line 369 (in sub select) defaults $mbox to $self->current_box 'unless $mbox'. This won't work if you happen to have a folder named '0' - stranger things have happened. The clause should be 'unless defined $mbox'.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.