> vec() is a bit squirrelly. In a nutshell (heh), vec views its first
> argument as a stream of bits taken from the string. The third
> argument tells how many bits form a chunk. 8 bits gives chunks that
> can each have values from 0 to 255. The second argument tells *which*
> chunk, numbering
> "James" == James Kipp <[EMAIL PROTECTED]> writes:
>> vec( $output, length $output, 8 ) = ord "E";
James> is it just me or do others on this list have a tough time understanding the
James> vec() function?
vec() is a bit squirrelly. In a nutshell (heh), vec views its first
argument as a stre
ebmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]
From: "Kipp, James" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: PERL string manipulation
Date: Fri, 20 Dec 2002 08:29:14 -0500
> vec( $output, length $output, 8 ) = ord "E";
is it just me
> vec( $output, length $output, 8 ) = ord "E";
is it just me or do others on this list have a tough time understanding the
vec() function?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Colin Johnstone wrote:
>
> Gidday all,
Hello,
> In PHP if I want to add something to a string I do this
>
> $output = "";
>
> $output .= "A";
> $output .= "B";
> $output .= "C";
> $output .= "D";
>
> print $output;
>
> How do I do the same in PERL please.
That does the same thing in perl:
Let us know and maybe we can help.
Wags ;)
-Original Message-
From: Johnstone, Colin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 21:26
To: '[EMAIL PROTECTED]'
Subject: RE: PERL String Manipulation
Gidday All,
Thank You for your help, I must have some other
Gidday All,
Thank You for your help, I must have some other error that I can't find.
Regards
Colin
The same way.
Wags ;)
-Original Message-
From: Johnstone, Colin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 21:01
To: '[EMAIL PROTECTED]'
Subject: PERL string manipulation
Gidday all,
In PHP if I want to add something to a string I do this
$output = "";
$out