home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!ftpbox!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
- From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
- Subject: Re: Multi-dimensional arrays
- Message-ID: <mcook.722100428@fendahl.dev.cdx.mot.com>
- Sender: news@merlin.dev.cdx.mot.com (USENET News System)
- Nntp-Posting-Host: fendahl.dev.cdx.mot.com
- Organization: Motorola Codex, Canton, Massachusetts
- References: <sasswb.722021479@k2>
- Date: Wed, 18 Nov 1992 15:27:08 GMT
- Lines: 9
-
- sasswb@unx.sas.com (Scott Bass) writes:
-
- >1. How can I code a multi-dimensional array in perl, say an Nx5 array?
-
- You can do it the same way you could in any language:
-
- $foo[$i * 5 + $j] = $bar;
-
- Michael.
-