May 4, 2004 #2 Geekatron Programmer May 1, 2004 37 US Sorry, maybe i'm being dense, but...was there a question in there somewhere? --G Upvote 0 Downvote
May 5, 2004 #3 rharsh Technical User Apr 2, 2004 960 US I think this is what you're looking for. Code: my @test = ("Some Text", "-Some More Text"); print grep {/^[^-].*/} @test; Upvote 0 Downvote
I think this is what you're looking for. Code: my @test = ("Some Text", "-Some More Text"); print grep {/^[^-].*/} @test;
May 5, 2004 #4 tazhicham Programmer Oct 23, 2003 15 FR what's your question? exactly Upvote 0 Downvote
May 5, 2004 Thread starter #5 arcnon Programmer Aug 12, 2003 242 US never mind what I had is working. I restarted and working as expected but data was the search word it is a xml type format <data> -<data> #<data>blah<data># <> -<data> </data> you name it there is a special character and <data> </data> pretty stupid format they should at least put it in the <> a somewhat sounder way. Anyway sorry for the poor question Upvote 0 Downvote
never mind what I had is working. I restarted and working as expected but data was the search word it is a xml type format <data> -<data> #<data>blah<data># <> -<data> </data> you name it there is a special character and <data> </data> pretty stupid format they should at least put it in the <> a somewhat sounder way. Anyway sorry for the poor question