Trying to split a string on a user defined object scalar. This way depending on the delinter for the file you can parse the flat file into columns
#read in first line which should contain fieldnames $field_line = <FILE>; chomp $field_line; @field_list = split( /$self->{delimiter}/, $field_line);
I get the same affect as calling split with // as the first argument. Any ideas?
In reply to Splitting on Variable by Angel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |