hinkbot
02-24-2003, 09:06 PM
i have to do a program for my csci class, and basically what i need to do right now before starting everything else is to use qw to manipulate a line. so this is what i am trying to do...
@states = qw(@filelist[0]);
now what i would hope to happen is that the line at filelist[0] would be passed to qw, but what is actually happening is "@filelist[0]"is being manipulated which is not what i want.
how can i use qw on the information stored at the aforementioned location???
@states = qw(@filelist[0]);
now what i would hope to happen is that the line at filelist[0] would be passed to qw, but what is actually happening is "@filelist[0]"is being manipulated which is not what i want.
how can i use qw on the information stored at the aforementioned location???