Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 2752
Status: resolved
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: adamk [...] ali.as
Cc:
AdminCc:

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



Subject: ->write() doesn't appear to return scalar as documented
From Docs If no arguments are given, write returns the entire formatted archive as a string, which could be useful if you'd like to stuff the archive into a socket or a pipe to gzip or something. This functionality may be deprecated later, however, as you can also do this using a GLOB reference for the first argument. This doesn't appear to be happening any more. Returning as a scalar, so I can do what I like with it is a highly usefull feature that seems to have dissapeared.
Date: Sat, 7 Jun 2003 12:18:41 +0200
Subject: Re: [cpan #2752] ->write() doesn't appear to return scalar as documented
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-Archive-Tar [...] rt.cpan.org
RT-Send-Cc:
On Saturday, Jun 7, 2003, at 06:45 Europe/Amsterdam, Guest via RT wrote: Show quoted text
> > This message about Archive-Tar was sent to you by guest <> via > rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=2752 > >
>> From Docs
> If no arguments are given, write returns the entire formatted archive > as a string, which could be useful if you'd like to stuff the archive > into a socket or a pipe to gzip or something. This functionality may > be deprecated later, however, as you can also do this using a GLOB > reference for the first argument. > > This doesn't appear to be happening any more. > Returning as a scalar, so I can do what I like with it is a highly > usefull feature that seems to have dissapeared. >
good catch, i've changed it to so that things work again, it'll be in version 1.01. here's the accompanying documentation: <docs> If no arguments are given, C<write> returns the entire formatted archive as a string, which could be useful if you'd like to stuff the archive into a socket or a pipe to gzip or something. </docs> this means indeed that passing a globref is not supported. -- Jos Boumans "You know the world is going crazy, when the best rapper is a white guy, the best golfer is a black guy, Switzerland wins the US Open sailing cup, Belfast is considered the safest city for a Bush/Blair top, France is accusing the US of arrogance and germany doesn't want to go to war." CPANPLUS http://cpanplus.sf.net