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: [EMAIL PROTECTED]
http://www.trustpact.com

begin:vcard
fn:Marco Rudzuck
n:Rudzuck;Marco
org:TRUSTpact GmbH
adr:1;;Schiefe Hardt;Hagen;NRW;58093;Deutschland
email;internet:[EMAIL PROTECTED]
tel;home:02371965327
tel;cell:01733164921
x-mozilla-html:FALSE
url:http://www.trustpact.com
version:2.1
end:vcard

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to