Dani Pardo wrote:
>
> Hi, I've a question involving formats.
> I have a text file that has lines like this:
>
> __LINE1__
> __LINE2__
>
> I use s/__LINE(\d+)__/$line{$1}/ to change each of these lines by an
> scalar that is stored in a hash, i.e:
>
> line{1}="CUSTOMER_NAME | PHONE
Hi, I've a question involving formats.
I have a text file that has lines like this:
__LINE1__
__LINE2__
I use s/__LINE(\d+)__/$line{$1}/ to change each of these lines by an
scalar that is stored in a hash, i.e:
line{1}="CUSTOMER_NAME | PHONE | EMAIL | COUNTRY";
But, as you may