aid in this!
Travis Hervey
-Original Message-
From: Paul Lalli [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 12:33 PM
To: beginners@perl.org
Subject: Re: How do you Create an array of a struct?
On Sep 18, 10:55 am, [EMAIL PROTECTED] (Travis
Hervey) wrote:
> How do
On Sep 18, 10:55 am, [EMAIL PROTECTED] (Travis
Hervey) wrote:
> How do you Create an array of a struct in perl?
You have to be more careful in your phrasing of your question. You're
using the Class::Struct module without telling anyone you're using the
Class::Struct module,
Narthring wrote:
On Sep 18, 9:55 am, [EMAIL PROTECTED] (Travis
Hervey) wrote:
How do you Create an array of a struct in perl? Is this even possible
in perl?
So far I have...
struct Carrier_Info => {
name=> '$',
abbrev => '$'
};
...
my
Travis Hervey wrote:
How do you Create an array of a struct in perl? Is this even possible
in perl?
Yes, but it's not called a struct in perl. It's typically called a hash
reference.
`perldoc -q struct` is a good place to look first. After that I would
look at `perldoc
Travis Hervey wrote:
How do you Create an array of a struct in perl? Is this even possible
in perl?
So far I have...
struct Carrier_Info => {
name=> '$',
abbrev => '$'
};
...
my @carriers = Carrier_Info->new();
I have tr
On Sep 18, 9:55 am, [EMAIL PROTECTED] (Travis
Hervey) wrote:
> How do you Create an array of a struct in perl? Is this even possible
> in perl?
>
> So far I have...
>
> struct Carrier_Info => {
>
> name=> '$',
>
> abbrev => &
Travis Hervey wrote:
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Travis Hervey wrote:
How do you Create an array of a struct in perl? Is this even possible
in perl?
So far I have...
struct Carrier_Info => {
name=> '$',
abbrev => '$'
}
Travis Hervey wrote:
How do you Create an array of a struct in perl? Is this even possible
in perl?
So far I have...
struct Carrier_Info => {
name=> '$',
abbrev => '$'
};
That looks like a hash so:
my %Carrier_Info = (
n
How do you Create an array of a struct in perl? Is this even possible
in perl?
So far I have...
struct Carrier_Info => {
name=> '$',
abbrev => '$'
};
...
my @carriers = Carrier_Info->new();
I have tried several different
Hi Rob,
Glad to see I'm not the only one hard at it today ;)
Anyway, with a few minor tweaks and your helpfully suggestion below, I got it
working perfectly now thanks abunch, much appreciated.
Cheers ;-)
--
MikeBlezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishi
Mike Blezien
>
> a happy new year... but some of us have to work on the holiday ;)
>
> Got a code here that I need to generate an array so it can be used further down
> in the script. Here is the code snip
> ### START OF CODE #
> my @membership = $cgi->
Hello,
a happy new year... but some of us have to work on the holiday ;)
Got a code here that I need to generate an array so it can be used further down
in the script. Here is the code snip
### START OF CODE #
my @membership = $cgi->param('membership'
###
#!/perl -w
use Data::Dumper;
use Switch;
my $str = <61001A8E5BE9D0119D1E0008C728E0C3227F13@ntusa2>, "Chris Rogers"
<[EMAIL PROTECTED]> wrote:
> Maybe I'm crazy, but I would like to create an array of arrays from a
> single string. Here's an example of
-
From: Chris Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 3:58 PM
To: Beginners@Perl. Org (E-mail)
Subject: Create an array of arrrays from a scalar
Maybe I'm crazy, but I would like to create an array of arrays from a single
string. Here's an example of a str
Maybe I'm crazy, but I would like to create an array of arrays from a single
string. Here's an example of a string:
(("TEXT" "PLAIN" ("format" "flowed") NIL NIL "7BIT" 206 4 NIL NIL
NIL)("TEXT" "PLAIN" ("name&qu
15 matches
Mail list logo