
fmarchioni
newbie
Sep 17, 2001, 1:32 AM
Post #1 of 1
(295 views)
|
|
[beginner ] Need help with String manipiulation
|
Can't Post
|
|
Hi all, I'm new to perl and I'd like to use it to auto-generate a file from an Oracle desc. So this is my problem: I have the following plain text file: CUSTOMER_ID NOT NULL NUMBER CUSTOMER_TYPE VARCHAR2(20) Now what I need is to have inside some variables the single tokens of a row. So so example for the first row: $fieldname = "CUSTOMER_TYPE" $notnull = "true" $type = "NUMBER" ..for the second..... $fieldname = "CUSTOMER_ID" $notnull = "false" $type = "VARCHAR" Can anyone give me some help about how to do it? Thanks in advance Francesco
|