
Hi Martin, this sounds really great ;-) Thanks for your help. It makes my work easier ;-) I think now there are no problems any more... Have a nice weekend Marco Martin Edenhofer schrieb:
Hi Marco,
On Apr 19, 2008, at 16:32 , Marco Rudzuck wrote:
thank you for your help.
I think, reading the content is possible with
open(FILE, <, file.pdf)
Just put binmode on it, just to me save.
binmode(FILE);
while(<FILE>)
{
$content = $_;
}
close(FILE);
Am I right? If so I think everything is fine now ;-)
Fine! ;)
PS: You also can use Kernel::System::Main to read files e. g.
my $ContentSCALARRef = $MainObject->FileRead( Location => 'c:\some\location\me_to\alal.xml' );
Accessible over "${$ContentSCALARRef }" als normal string.
Greetings,
-Martin
-- Mit freundlichen Grüßen Marco Rudzuck TRUSTpact GmbH Schiefe Hardt 1 58093 Hagen M: 01733164921 F: 02371965327 E: marco.rudzuck@trustpact.com http://www.trustpact.com