Ahh yes. Assigning an array to a scalar results in the scalar having the element count instead of actual elements.
Thanks. Keep up with me and what I'm up to: http://theillien.blogspot.com Angerstein wrote: > Ihhhkk.... > @values = @_; > > Or you got the number of elements. > > -----Ursprüngliche Nachricht----- > Von: Mathew Snyder [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 29. August 2007 13:32 > An: Perl Beginners > Betreff: More Perl and AJAX > > > When passing a value from JavaScript to a Perl script, am I right in > thinking that the value received by the Perl script would be captured > like my $value = @_;? > > I'm trying to pass a value to Perl and by calling it directly in the > browser and passing a value to it like so > http://ajax.application.com/cgi-bin/perl_script.pl?menuObject=environmen > t it simply prints a zero to the browser. > > Is that how it should be called when doing so directly? > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/