Thread Perl in C umsetzen: Umsetzen von Perl in C-Code (17 answers)
Opened by student at 2004-06-10 11:58

Crian
 2004-06-10 16:16
#29267 #29267
User since
2003-08-04
5872 Artikel
ModeratorIn
[Homepage]
user image
Code: (dl )
1
2
3
4
crian@theresa:~/daten/c> /usr/local/bin/perl5.8.4 /usr/local/bin/perlcc student.pl
/usr/local/bin/perlcc: student.pl did not compile:
syntax error at student.pl line 20, near "{}"
student.pl had compilation errors.


Code: (dl )
1
2
3
crian@theresa:~/daten/c> perl -c student.pl
syntax error at student.pl line 20, near "{}"
student.pl had compilation errors.


Reparier erstmal Deinen Perlcode ... =)
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite

View full thread Perl in C umsetzen: Umsetzen von Perl in C-Code