Todd am Mittwoch, 17. August 2005 16.16:
> Hi,
>
> I am having a problem. I have a string ($newval) that has quotes (") in it:
>     $newval="hba0-SCSI-target-id-7-name=\"0011884455667733\"";

This shouldn't be a problem.

But there is no reason to use interpolating quotes:

$newval='hba0-SCSI-target-id-7-name="0011884455667733"';

or 
$newval=q(hba0-SCSI-target-id-7-name="0011884455667733");

> I can print $newval and I see this:
>
>     print "Variable newval = $newval;

A double quote is missing here.

>     Variable newval =   "hba0-SCSI-target-id-7-name="0011884455667733"

Could not reproduce your problem.

[...]

-- 
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