in reply to Re^2: Sorting within a file
in thread Sorting within a file

Whats with the curly brackets?

It provides a scope for the local *FILE and the local $,. I don't like variables hanging around too long, especially when they have destructors (like FILE) or have side-effects (like $,).

Replies are listed 'Best First'.
Re^4: Sorting within a file
by Anonymous Monk on Mar 04, 2005 at 20:54 UTC
    ikegami, its complaining about argument "1260896 abadeno" isnt numeric in addition at the "map { $_, 0+$_ }" line...
      oops, I had tested it without warnings. I just modified it so it doesn't give the warning.