CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Why is the backslash needed in GetOptions ?

 



dissectcode
Novice

Dec 1, 2011, 12:37 PM

Post #1 of 2 (473 views)
Why is the backslash needed in GetOptions ? Can't Post

For example :


Code
my $help; 
GetOptions( "h" => \$help );



wickedxter
User

Dec 1, 2011, 6:05 PM

Post #2 of 2 (466 views)
Re: [dissectcode] Why is the backslash needed in GetOptions ? [In reply to] Can't Post

its a referance to $help variable

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives