Nov 23, 2009, 1:10 AM
Post #1 of 3
Is it possible? Say I save <STDIV> to a string, then I want each word to be a separate index in an array, ie.
using the contents of a variable for qw
#i know this code doesn't compile, but its what i want to do
@fred = qw( <STDIV>);
#where user enters 'one two three four'
$fred == one
$fred == two
is there a way of doing this? Thanks!