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:
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
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
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
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
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
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
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
>
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