Subject: | newlines confuse indirect |
This works:
#!/perl
package Foo::Bar {
sub bar { return (3,1,2) }
};
no indirect;
my @files = sort Foo::Bar->bar;
This dies:
#!/perl
package Foo::Bar {
sub bar { return (3,1,2) }
};
no indirect;
my @files = sort Foo::Bar
->bar;
This works:
#!/perl
package Foo::Bar {
sub bar { return (3,1,2) }
};
no indirect;
my @files = Foo::Bar
->bar;
There is something in 'sort' that makes 'indirect' sensible to newlines.