Thread Linkit (6 answers)
Opened by haijp at 2006-05-02 13:34

renee
 2006-05-02 14:44
#7472 #7472
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Nimm das "#" x80 noch beim Eintragen der URL raus... Und mach noch
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
  while(my $line = <F>){
chomp $line;
next unless($. >=2 );
if($. % 2 == 0){
print $cgi->p('',$cgi->a( {-href => $url}, $line ) );
}
else{
$url = $line;
}
}
close F;
anstatt
Code: (dl )
1
2
3
4
5
6
7
8
9
  while(my $line = <F>){
chomp $line;
if($. % 2 == 0){
print $cgi->p('',$cgi->a( {-href => $url}, $line ) );
}
else{
$url = $line;
}
close F;
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Linkit