Thread Syntax bei Filehandle als Hashref (17 answers)
Opened by bianca at 2012-07-06 18:55

pq
 2012-07-07 00:56
#159668 #159668
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
bei split ist es jedenfalls skalarer kontext; das wird allerdings nicht explizit in der doku gesagt, nur "Splits the string EXPR into a list", woraus deutlich wird, dass das 2. argument als string behandelt wird.
von vielen überschreibbaren builtins erfährt man den prototypen mittels prototype("CORE::builtin_name"), da split aber nicht überschreibbar ist, erfährt man so nichts.
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 Syntax bei Filehandle als Hashref