Thread Verständnisfrage zu Perl (6 answers)
Opened by LadyM at 2007-08-06 15:08

bloonix
 2007-08-07 15:46
#97708 #97708
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
opt kann doch was ganz anderes sein!
Vielleicht eine Routine?

Code (perl): (dl )
1
2
3
4
sub opt { '/opt' }
my $j = '/foo';
my $tmp = opt . $j;
print $tmp, "\n";

/opt/foo
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Verständnisfrage zu Perl