Comrades,

I have a function which takes up arguments as shown below:

$str = "./place_order -t " .
        "/thus/axioss/serviceID:\"" . $self->{serviceID} . "\" " .
        "/thus/axioss/supplierProduct:\"" . $self->{supplierProduct} . "\" "
.
        "/thus/axioss/web/installationTelephoneNumber:\"" .
$self->{installationTelephoneNumber} . "\n"; 

My problem is to get away with the hard coded values i.e
/thus/axioss/serviceID:,/thus/axioss/supplierProduct:, and 
/thus/axioss/web/installationTelephoneNumber:

I am fetching the above arguments from a file which contains these values as
shown below.

/thus/axioss/serviceID:123456
/thus/axioss/supplierProduct:BT IPStream 500
/thus/axioss/web/installationTelephoneNumber:020837111663

How can I do away with the hard coded keys?

Thanks in advance..

----------------------------------------------------------------------------
----------------

regards,

Ajitpal Singh,

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to