Is there a way to get a certain value from an array retun without first assigning the return to a variable? For instance, I'd like to use something like: `ls -sl -fl`[0]; instead of: $val = `ls -sl -fl`; $val[0]; Just seems like a waste to be creating variables for one time uses.
You probably want to use `ls -sl -fl` to make sure each item in the array has its own index before performing the loop. Tokenize works like this: $selectionArray = `ls -sl -fl`; string $newArray []; tokenize $selectionArray[0] "." $newArray; print $newArray;
http://www.freewebs.com/jeremypennington/fm2-7.jpg Its flamedramon from digimon, no refs used. made this in like a couple hours. what do you think so far?