CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Putting '\' to a scaler..

 



jbs
Deleted

Jun 22, 2000, 9:39 AM

Post #1 of 2 (245 views)
Putting '\' to a scaler.. Can't Post

I keep getting an error when I try to use a single quote when encapsulate a '\'

$tt='\'; #doesnt work

#so, that means

$tts='myfile\'; #will not work either..

Id appreciate any help..




japhy
Enthusiast

Jun 21, 2000, 10:24 PM

Post #2 of 2 (245 views)
Re: Putting '\' to a scaler.. [In reply to] Can't Post

<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>


$string = "this\\that";
$string = "\\";
$string = "this\\";

$string = 'this\\that';
$string = '\\';
$string = 'this\\';
</pre><HR></BLOCKQUOTE>

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives