do is something like:-
$str =~ s/]+\n(.*?)<\/udb:$1>/$sub->($1,$2)/gs;
But putting the $1 on the LHS is not valid...
Any thoughts?
--
David Wood, Web Developer
[a] Clickmusic Ltd, 99c Talbot Road, London W11 2AT
[t] 020 7727 7500
[w] www.clickmusic.co.uk
"There are three types of
es_taught,$subjectarea_1,$s
> ubjectarea_2,$subjectarea_3,$subjectarea_4,$subjectarea_5,$subjectarea_6,$ho
> w_heard,$Occupation)`;
>
> my $sth= "$SQL_UP";
> $str= $dbh->quote($sth);
> print $str;
> exit;
> - Original Message -
> From: "David
em, I am running a script to take a pipe
> > delimited flat file and pump the data into a database. Due to the users
> > putting extraneous apostrophes I am getting errors that there are unclosed
> > apostrophes in the fields. I am looking for a way to escape these
> >
ors that there are unclosed apostrophes in the fields. I
>am looking for a way to escape these apostrophes as simply as possible. Can someone
>help?
>
> Judd Borakove
--
David Wood, Web Developer
[a] Clickmusic Ltd, 99c Talbot Road, London W11 2AT
[t] 020 7727 7500
[w] www.clic
. the <> characters.
>
> Is this so hard because I'm trying to row with a fork or what ?
>
> Michael Carmody
> MDU, Public Health Lab
> Dept. of Microbiology and Immunology
> The University of Melbourne, Parkville
>
> --
> To unsubscribe, e
ary Luther.vcf
> Type: Plain Text (text/plain)
>
> ----
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
David Wood, Web Developer
[a] Cl
e, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
David Wood, Web Developer
[a] Clickmusic Ltd, 99c Talbot Road, London W11 2AT
[t] 020 7727 7500
[w] www.clickmusic.co.uk
"There are three types of people in the world; those who can count,
and
l server error.i have not done much in search_results.cgi
>so basically i feel there is no syntax error.
>
> What are the possible reasons of error..Please Help!
--
David Wood, Web Developer
[a] Clickmusic Ltd, 99c Talbot Road, London W11 2AT
[t] 020 7727 7500
[w] www.c
and make a @new_array, use map - a bit
more convenient than a foreach ... { push }
my @new_array = map #do something with $_ here#, @array;
eg:
my @new_array = map $_*2 , @array;
Would give 0,2,4,6,8,10,12,14,16.42,44
--
David Wood, Web Developer
[a] Clickmusic Ltd, 99c Talbo