Closed Thread Icon

Topic awaiting preservation: Escaping the Perl-trix... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12281" title="Pages that link to Topic awaiting preservation: Escaping the Perl-trix... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Escaping the Perl-trix... <span class="small">(Page 1 of 1)</span>\

 
Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 06-23-2002 03:17

What characters need to be escaped in Perl? What about Javascript?


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

Rahly
Bipolar (III) Inmate

From: Michigan
Insane since: Jul 2002

posted posted 07-04-2002 21:50

depends on what your are using for quoted caracters.

Rahly

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 07-07-2002 14:39

huh?


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

Rahly
Bipolar (III) Inmate

From: Michigan
Insane since: Jul 2002

posted posted 07-07-2002 16:45

well... for one.. the backslash needs to be..... and the $.....

if you do
my $data = qw~\~this is a test\~.~;

in this example i had to escape the ~ in order to use it becuase I'm using them for quoted characters...

my $data = qw

« BackwardsOnwards »

Show Forum Drop Down Menu