On Tue, Feb 3, 2009 at 18:32, Dr.Ruud wrote:
> Chas. Owens wrote:
>
>> [fat comma]
>>
>> it treats the thing on its left
>> like a string if the thing on the left matches this pattern
>> /^[-_a-zA-Z][-\w]*$/
>
> I don't believe that pattern. So lets test:
>
>
> perl -wle '
> $,=" => ";
> my %h =
Chas. Owens wrote:
> [fat comma]
it treats the thing on its left
like a string if the thing on the left matches this pattern
/^[-_a-zA-Z][-\w]*$/
I don't believe that pattern. So lets test:
perl -wle '
$,=" => ";
my %h = ( -- => "x");
print %h;
'
syntax error at -e line 3, near "-- =>"
On Mon, Feb 2, 2009 at 16:43, Tina wrote:
> Hello, I just started programming in perl and currently am working in
> an OOP sort of program. I am writing the constructor and I wasn't sure
> of the differences between the following syntax:
>
> 'count' => 0
>
> @count = 0
>
> Both seem to work fine,
On Fri, 8 Nov 2002 13:48:34 -0800 (PST), [EMAIL PROTECTED] (Carol
Nguyen) wrote:
>Hello,
>
>I just subscribed to this list 2 days ago. I am
>pretty new to perl. I have one question: I need to
>write a little script to auto-start the solaris web
>server when it crashes. How am I about to do thi