Thread Variable in Sub-Routine unbekannt (20 answers)
Opened by tecker at 2008-05-07 16:19

pq
 2008-05-09 19:14
#109494 #109494
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
FIFO+2008-05-09 16:40:26--
Code (perl): (dl )
1
2
3
4
5
$s_a = $s_a || 0;

# ODER:

$s_a = $s_a ? $s_a : 0;

Code (perl): (dl )
$s_a ||= 0;
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Variable in Sub-Routine unbekannt