Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 7075
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: hkuhlmann [...] dr-k.de
Cc:
AdminCc:

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



From: Heiner Kuhlmann <hkuhlmann [...] dr-kuhlmann.com>
To: bug-par [...] rt.cpan.org
Subject: pp and File::MMagic
Date: Fri, 23 Jul 2004 18:05:01 +0200
Hi, running my program created with pp I got errors like ---ship Bareword found where operator expected at __DATA__ line 1336, near "0 string" (Missing operator before string?) ---shap The Problem is the Module File::MMagic There is 1; __DATA__ # Magic data ... Inserting a blank line: 1; __DATA__ all works fine. IMHO this is not a problem of File::MMagic but pp. Heiner -- Dr. Kuhlmann Beratung Software-Engineering Unter den Eichen 30, D-28857 Syke, Germany Phone: +49(4240)95078 FAX +49(4240)95077 hkuhlmann@dr-kuhlmann.com www.dr-kuhlmann.com
On Fr. 23. Jul. 2004, 16:47:17, hkuhlmann@dr-k.de wrote: Show quoted text
> Hi, > > running my program created with pp I got errors like > > ---ship > > Bareword found where operator expected at __DATA__ line 1336, near > "0 string" > (Missing operator before string?) > > ---shap > > The Problem is the Module File::MMagic > > There is > > 1; > __DATA__ > # Magic data ... > > > Inserting a blank line: > > 1; > > __DATA__ > > > all works fine. > > IMHO this is not a problem of File::MMagic but pp. > > Heiner >
Hi, sorry for the late reply. I picked up PAR maintenance and I am slowly working my way through the ticket archive. Can you still reproduce this problem with a current PAR (0.941)? I think patched it somewhen to fix this. IIRC, the docs say something like "should be preceded by a blank line" about file markers, but perl is more liberal, so PAR wasn't completely wrong... I tested this with a simple script and could not reproduce the error (any more). I'll close the ticket. Just answer to reopen it and I'll try to get back to it quicker next time. Steffen