--- In perl-beginner@yahoogroups.com, merlyn ...
wrote:
>
> >>>>> "hooyar66" == hooyar66
<pcbcad ...> writes:
>
> hooyar66> Any ideas?
>
> About what? Looks like you solved it.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services,
Inc. - +1 503
777 0095
> <merlyn ...> <URL:http://www.ston
ehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing,
Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and
open-enrollment Perl
training!
>
Hi Randal
No still not solved it.
The code below although it 'looks' correct is not being
interpreted
correctly:
###########
#! perl
use strict;
use warnings;
use diagnostics;
my $text = 'A ver~sion, of 5 6 NJH's SD card 'which'
enab' #~%les the PCB itself to be plug'ged (directly)
i nto
a
#,standard SD card input connector';
$text =~ s/'/\'/g;
print "$text:n$textnn";
print 'The previous single-quote should be a opener not a
closing
quote';
###########
The second single-quote in my substitution line is not being
escaped
causing all subsequent code - until the next single-quote -
to be
treated as a sting.
They say 'a picture is worth a thousand words', the link
below will
show a screenshot of my text-editor which uses Perl syntax
colour
coding.
http://tinyurl.com/yrja7g
a>
Thanks
NJH
Unsubscribing info is here: h
ttp://help.yahoo.com/help/us/groups/groups-32.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://g
roups.yahoo.com/group/perl-beginner/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http
://groups.yahoo.com/group/perl-beginner/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:perl-beginner-digest@yahoogroups.com
mailto:perl-beginner-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
perl-beginner-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|