Hi All,
What I want to is using a string as PATTERN in a split function. This makes
it possible for me to change the PATTERN on one place in my script...
For example:
$separator = ";";
$line = "field1;value1" ;
local($field, $value) = split(/$separator/, $line);
How can I make this work ?
Arjen
What I want to is using a string as PATTERN in a split function. This makes
it possible for me to change the PATTERN on one place in my script...
For example:
$separator = ";";
$line = "field1;value1" ;
local($field, $value) = split(/$separator/, $line);
How can I make this work ?
Arjen
Comment