Okay, not original, The 6/00 Server/Workstation Expert Work column (Copeland&Haemer) had the request for a script to randomize the lines of a text file, w/ one result being: perl -pe 'splice @a, rand $.,0, $_} for(@a) {' from a Peter Kernan. Cute/cool use of the -p brackets. a Andy Bach, Sys. Mangler CC:Mail andy bach at ~7ca-chicago Internet: andy@wiwb.uscourts.gov VOICE: (608) 264-5178 ex 5738, FAX 264-5105 "If at first you don't succeed, try, try again. Then quit. There's no use being a damn fool about it." --W.C. Fields ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe