Thread perl unter win2000 (37 answers)
Opened by darmon at 2003-09-19 16:36

schmeckzilla
 2003-09-20 16:14
#47068 #47068
User since
2003-09-09
23 Artikel
BenutzerIn
[default_avatar]
Wenn ich mein Perldokument im RTF-Format durch Perl schicke krieg ich die gleichen Fehlermeldungen.

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
dansch@deb-dansch:~/ds/tmp$ perl hello_world.rtf
Backslash found where operator expected at hello_world.rtf line 1, near "rtf1\"
Backslash found where operator expected at hello_world.rtf line 1, near "ansi\"
Backslash found where operator expected at hello_world.rtf line 1, near "deff0\"
Backslash found where operator expected at hello_world.rtf line 2, near "f0\"
Backslash found where operator expected at hello_world.rtf line 2, near "froman\"
Backslash found where operator expected at hello_world.rtf line 2, near "fprq2\"
Bareword found where operator expected at hello_world.rtf line 2, near "*\falt"
(Missing operator before falt?)
syntax error at hello_world.rtf line 1, near "rtf1\"
syntax error at hello_world.rtf line 2, near ";}"
Execution of hello_world.rtf aborted due to compilation errors.


Inhalt von Hello World ist derselbe wie bei Dir. Also einfach nochmal öffnen und als Extratextdokument speichern. Siehe auch nochmal meinen Beitrag vom 19.09.2003, 21:07.

Das Verknüpfen mit Perl bei der Endung pl wird durch ActiveStatePerl automatisch vorgenommen. Ansonsten kannst Du es in der Kommandozeile einfach mit perl Programmname aufrufen. Programmname muss aber ein Textdokument sein. ;-)
use strict; use warnings;
perl -e 'eval reverse q| )51,1-,4,9,1,1-,7,22,5,8,8,3-,86-,71,51,1,51,86-,21,1,41,8,86-,24-,55-,95-(})001+_$(rhc{pam esrever tnirp|'

View full thread perl unter win2000