converting scalar to an array of elements
From: Chuckb (charles.h.brashear_at_boeing.com)
Date: 02/07/04
- Next message: Yash: "Compiler directives for Perl?"
- Previous message: A. Sinan Unur: "Re: Need help passing arrays by reference pls."
- Next in thread: AlV: "Re: converting scalar to an array of elements"
- Reply: AlV: "Re: converting scalar to an array of elements"
- Reply: James Willmore: "Re: converting scalar to an array of elements"
- Reply: John W. Krahn: "Re: converting scalar to an array of elements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 7 Feb 2004 13:17:33 GMT
I should know this but, what is the quickest way to convert a scalar value
into an array?
Ex: $name="Fred";
so that
$arrayname[0]="F";
$arrayname[1]="r";
$arrayname[2]="e";
$arrayname[3]="d";
Thanks!
- Next message: Yash: "Compiler directives for Perl?"
- Previous message: A. Sinan Unur: "Re: Need help passing arrays by reference pls."
- Next in thread: AlV: "Re: converting scalar to an array of elements"
- Reply: AlV: "Re: converting scalar to an array of elements"
- Reply: James Willmore: "Re: converting scalar to an array of elements"
- Reply: John W. Krahn: "Re: converting scalar to an array of elements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]