Re: space in variable referencing

2008-01-12 Thread John W. Krahn
ciwei wrote: Question from a newbie: how to properly use space when reference to variables, array, hash etc. please see the code below: why the first line, second, and third line all output differiently. thanks. ciwei code below == #!/usr/bin/perl The next two lines should be:

Re: space in variable referencing

2008-01-12 Thread Tom Phoenix
On Jan 11, 2008 3:03 PM, ciwei <[EMAIL PROTECTED]> wrote: > Question from a newbie: how to properly use space > when reference to variables, array, hash etc. Don't put any spaces inside a variable name, especially when interpolating it. > print "first line : $user => @{$ttys {$user}} \n"; > prin

Re: Space Filling the End of Record

2006-08-14 Thread John W. Krahn
Gloria Hairston wrote: Hello Gloria, > Content-Type: multipart/related; > type="multipart/alternative"; > boundary="_=_NextPart_001_01C6BFE1.F5E4D64A" [snip] > --_=_NextPart_001_01C6BFE1.F5E4D64A > Content-Type: multipart/alternative; > boundary="_=_NextPart_002_01C6

Re: Space problem

2005-10-14 Thread John Doe
Martha kavishe am Freitag, 14. Oktober 2005 15.47: > Hi All, Hi Martha Marcello already explained that the shell uses spaces to separate arguments, e.g. # my_prog gu 1 passes "gu" and "1" in @ARGV to the prog, while # my_prog "gu 1" will pass only "gu 1" (without quotes; these are handled

Re: Space problem

2005-10-14 Thread Marcello
Martha kavishe ha scritto: Hi All, I received some response to my problem but unfortunately my problem isn't solved, I'm still struggling.. Thank you all for your contribution Here is a better short code for the program which gives a clear picture of what I'm trying to ask help for. use DB

Re: Space proplem

2005-10-14 Thread pan
Hi Martha, Although I do not understand exactly what it is that you want, the following could help ... #1# $msg =~ s/\"/'/igx; #2# if (($msg=~ /gu1/i) && ($msg !~ /gu1[0123456789]+/i)) First remove line #1#. I guess you did an attempt to remove quotes here, that weren't even there (you can see i

Re: space

2001-06-09 Thread Doncho N . Gunchev
On 2001.Jun.08 - Fri 02:34, bc wrote: | who knows of some free web space that allows the use of perl? so i can | test my "hello world" program and more and more... :) bc Give a try to nether.net and hobbiton.org, telnet there, make new accoutn, setup your www forlder and go! :) at the

RE: space

2001-06-07 Thread Chas Owens
On 07 Jun 2001 19:36:57 -0400, Mark S wrote: > You could just set up a web server on your own machine, if that's all you're > looking to do. > > > -Original Message- > From: bc [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 7:34 PM > To: [EMAIL PROTECTED] > Subject: space >

RE: space

2001-06-07 Thread Mark S
You could just set up a web server on your own machine, if that's all you're looking to do. -Original Message- From: bc [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 7:34 PM To: [EMAIL PROTECTED] Subject: space who knows of some free web space that allows the use of perl? s