Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Perl syntax

Reply
Thread Tools

Perl syntax

 
 
Anders Christensen
Guest
Posts: n/a
 
      04-01-2004
Hey,
Could anyone help me understanding the following code-example. The
code-example is taken out of a context, so it won't give any functionality
as you see it - what I'd like help on is what $:: and %:: means...? Which
scalar and hash is in question?

The codeexample:
#[Bla,bla,bla...]
sub ProcessFormFields {
my ($buffer) = (@_);
return ParseUrlString($buffer, %::FORM, %::MFORM);
}
#[Bla,bla,bla...]
if ( defined $::FORM{$fieldname} ) {
$::FORM{$fieldname} .= $fieldvalue;
#[Bla,bla,bla...]
}

../Anders

 
Reply With Quote
 
 
 
 
Gunnar Hjalmarsson
Guest
Posts: n/a
 
      04-01-2004
[ DO NOT MULTI-POST!!

I just answered your question in alt.perl, since I didn't know that
you had posted in comp.lang.perl.misc as well and that Bernard already
had answered.

That's rude! Behave yourself!! ]

Anders Christensen wrote:
> Could anyone help me understanding the following code-example.


--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

 
Reply With Quote
 
 
 
 
Anders Christensen
Guest
Posts: n/a
 
      04-01-2004
Hi Gunnar,
I'm sorry about that! :-/
Thank you very much for your answer.
../Anders

 
Reply With Quote
 
Gunnar Hjalmarsson
Guest
Posts: n/a
 
      04-01-2004
Anders Christensen wrote:
> Hi Gunnar,
> I'm sorry about that! :-/
> Thank you very much for your answer.


Okay...

That's a netiquette thing. Now you know when you post to Usenet next
time.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

 
Reply With Quote
 
Anders Christensen
Guest
Posts: n/a
 
      04-01-2004
Hi Gunnar,
I'm sorry about that! :-/
Thank you very much for your answer.
../Anders
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax Checker that's better than the normal syntax checker Jacob Grover Ruby 5 07-18-2008 05:07 AM
Syntax error? What syntax error? Assignment fo default values? Mark Richards Perl Misc 3 11-18-2007 05:01 PM
Syntax bug, in 1.8.5? return not (some expr) <-- syntax error vsreturn (not (some expr)) <-- fine Good Night Moon Ruby 9 07-25-2007 04:51 PM
[ANN] SqlStatement 1.0.0 - hide the syntax of SQL behind familiarruby syntax Ken Bloom Ruby 3 10-09-2006 06:46 PM
Syntax highligth with textile: Syntax+RedCloth ? gabriele renzi Ruby 2 12-31-2005 02:44 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57