Hello,
My Perl program execute a query that bring back into a variable a Windows
paths initially stored in a database. I have got problems to manage the
backslash.
Example:
Here's what is stored in the database -->
\Directions\unit\progr\sourcsql
I would like to get it in a variable thus I could
Hi -
> -Original Message-
> From: Guy P [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: Backslash in a string
>
>
> Hello,
> My Perl program execute a query that bring back into a variable a Windows
&g
"Beau E. Cox" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi -
>
> > -Original Message-
> > From: Guy P [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 03, 2003 9:10 AM
> > To: [EMAIL PROTECTED]
> > Subject: Backslas
Original Message-
> > > From: Guy P [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, March 03, 2003 9:10 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Backslash in a string
> > >
> > >
> > > Hello,
> > > My Perl program execute a
On Wed, 5 Mar 2003 10:02:17 -0500, "Guy P" <[EMAIL PROTECTED]> wrote:
> The problem still remains. Look at the small program below.
> The result is this: DirectionsNitprogrsourcsql
> DirectionsNitprogrsourcsql
Guy P wrote:
> The problem still remains. Look at the small program below.
> The result is this: DirectionsNitprogrsourcsql
> DirectionsNitprogrsourcsql
>
> And I would like it to be this:\Directions\unit\progr\sourcsql
>
> .Directions.unit.progr.sourcsq
Hello,
My Perl program execute a query that bring back into a variable a Windows
paths initially stored in a database. I have got problems to manage the
backslash.
Example:
Here's what is stored in the database -->
\Directions\unit\progr\sourcsql
I would like to get it in a variable thus I could
Uh.. What's the problem?
Are you getting an error of some kind?
Are you having problems querying a database?
A little context/code you're using might help.
There is no conflict with having slashes in a string that is stored in a variable so
You may want to expound a little more.
DMuey
> Hello,
Look at the small program below.
The result is this: DirectionsNitprogrsourcsql
DirectionsNitprogrsourcsql
And I would like it to be this:\Directions\unit\progr\sourcsql
.Directions.unit.progr.sourcsql
Notice that it doesn't print the backslashes and it
> ##
> #!/usr/bin/perl
> my ($reprt);
> $reprt= "\Directions\unit\progr\sourcsql";
>
> print $reprt."\n";
>
> # $reprt =~ s/\\//g;
> $reprt =~ s/[\\]/\./g;
>
> print $reprt."\n";
my $reprt= '\Directions\unit\progr\sourcsql';
print $rep
Guy P wrote:
> Look at the small program below.
> The result is this: DirectionsNitprogrsourcsql
> DirectionsNitprogrsourcsql
>
> And I would like it to be this:\Directions\unit\progr\sourcsql
...
>
> $reprt= "\Directions\unit\progr\sourcsql";
...Hi Guy
11 matches
Mail list logo