in reply to Pointer to null terminated string
If you're confused/curious about what I'm saying, read perldata, and perlref.
Now if you wish to manipulate strings, I mean, scalars in perl, you wanna use perl's built-in functions (perlfunc), and especially the "Functions for SCALARs or strings": chomp, chop, chr, crypt, hex, index, lc, lcfirst, length, oct, ord, pack, q/STRING/, qq/STRING/, reverse, rindex, sprintf, substr, tr///, uc, ucfirst, y/// .
Were you talking about perl? (i suspect not, it's best if you clarify)
update: aha. let's see some sourcecode.
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests. ** The Third rule of perl club is a statement of fact: pod is sexy. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Pointer to null terminated string
by jmcnamara (Monsignor) on Feb 18, 2003 at 08:20 UTC | |
|
Re: Re: Pointer to null terminated string
by Anonymous Monk on Feb 18, 2003 at 08:41 UTC | |
by jmcnamara (Monsignor) on Feb 18, 2003 at 09:33 UTC | |
by xmath (Hermit) on Feb 18, 2003 at 09:35 UTC |