SORT [/R] [/+n] [[drive1:][path1]filename1] [> [drive2:][path2]filename2] [command |] SORT [/R] [/+n] [> [drive2:][path2]filename2] #### #!/usr/bin/perl use strict; OPEN "filename"/n"; COUNT |||||| #this counts spaces over in the list SORT /R #this sorts my data #### Bareword "COUNT" not allowed while "strict subs" in use at ./order.pl line 5. syntax error at ./ray.pl line 5, near "||||" Bareword "SORT" not allowed while "strict subs" in use at ./order.pl line 6. Bareword "R" not allowed while "strict subs" in use at ./order.pl line 6. Execution of ./ray.pl aborted due to compilation errors. Bareword "OPEN" not allowed while "strict subs" in use at ./order.pl line 5. String found where operator expected at ./order.pl line 5, near "OPEN "filename"" (Do you need to predeclare OPEN?) syntax error at ./order.pl line 5, near "OPEN "filename"" Bareword "n" not allowed while "strict subs" in use at ./order.pl line 5. String found where operator expected at ./order.pl line 5, at end of line (Missing semicolon on previous line?) Can't find string terminator '"' anywhere before EOF at ./order.pl line 5.