[EMAIL PROTECTED] wrote:
>         data fetched from one column is  110 ^ 220 ^ 230 ^ 240 ^ 250 ^
>         now we are splitting it on basis of delimiter (^) through following
>         code.
> 
>         $task   = 110 ^ 220 ^ 230 ^ 240 ^ 250
>         @abc    = split(/ ^ / , $task)
> 
>         if we print the values of @abc ,
>         IT doesn't print anything.
> 
>         One more thing , The data fetched from a column is always stored in
>         a scalar variable.

I think your problem is that ^ has a special meaning (it matches the
beginning of a line), and it may be getting confused even though it's
not the first character.  I just tried it, and escaping the caret fixed
the problem.  Change ^ to \^ and it should work.
-- 
-------------------------------------------------------------------
DDDD   David Kramer                    [EMAIL PROTECTED]
DK KD                                  http://start.at/david.kramer
DKK D  Sure, there are things in the sky that we can't identify.
DK KD  But there are things in my refrigerator that I can't identify.
DDDD   That doesn't mean they're space alien leftovers. -Penn Jillette
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to