GoCubs;545344 Wrote:
> Like you have shown there you'd just substitute your variable name where
> the string is.
>
> Within your code you can also use the hash location instead of a
> dedicated variable. Both can be used to store string data.
>
> >
Code:
--------------------
> >
> my $sport = 'soccer';
> my $gameID = 'Game1';
> ...
>
> my %mikeHash;
> $mikeHash{'sport'} = $soccer;
> $mikeHash{'gameID'} = $gameID;
> ...
> addCustomSportScore(\%mikeHash);
>
--------------------
> >
I have no idea why that wasn't working for me earlier. It is now
though. I might have had quotes around them or something.
Thanks!
--
Mike Meyer
'My Last.fm Page' (http://www.last.fm/user/malmeyer)
'PGAScores' (http://forums.slimdevices.com/showthread.php?t=47480) &
'CollegeHockey' (http://forums.slimdevices.com/showthread.php?t=55731)
(SuperDateTime Add-ons)
------------------------------------------------------------------------
Mike Meyer's Profile: http://forums.slimdevices.com/member.php?userid=1832
View this thread: http://forums.slimdevices.com/showthread.php?t=77864
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive