| Woosta | what are 'getopt defined symbols'? |
| qasim | i mean with the symbols that are defined in the program... getopt(cs, %opt) where c is for the client and s for the server...how can i instruct it to call the corresponding subroutine if its c or s anybody there? |
| cfedde | not many Getopt? Getopt::Long? |
| Woosta | Still no idea what you're talking about .. |
| qasim | getopt::std --> i want to call corresponding functions with the command line arguments |
| MarketingXpert | anyone for hire msg me |
| dondelelcaro | MarketingXpert: jobs.perl.org is for hire. |
| simcop2387 | GumbyBRAIN: SEGV |
| GumbyBRAIN | Somian doesn't think segv can be quite good. |
| simcop2387 | shows what you know somian! |
| infi | qasim: use Getopt::Std; my %somehash; getopt('cs',%somehash); if (keys %somehash == 2) { die "c and s are incompatible options.\n"; } elsif ($somehash{'c'}) { run_client(); } elsif ($somehash{'s'}) { run_server(); } else { die "No valid arguments passed." } qasim: the description is clear, but there really aren't very good examples of its use. |
| qasim | Thanks infi for the help and clarification...:) |
| action | CPAN upload: CGI-Apache2-Wrapper-0.1 by RKOBES |
| CPAN | upload: CGI-Apache2-Wrapper-0.1 by RKOBES |
| action | CPAN upload: Apache2-Ajax-0.1 by RKOBES |
| CPAN | upload: Apache2-Ajax-0.1 by RKOBES |
| action | CPAN upload: Apache2-Autocomplete-0.1 by RKOBES |
| CPAN | upload: Apache2-Autocomplete-0.1 by RKOBES |
| simcop2387 | GumbyBRAIN: live long for a gnu dawn! |
| GumbyBRAIN | Oh, that's what i was looking for. I need to grow into something that will take a look at the dawn. |
| nanonyme | GumbyBRAIN: should one give up? |
| GumbyBRAIN | It should give up for it, then in your life to the one i wanted to print a linenumber where perl found a bug of perl lover are smooching today. |
| MarketingXpert | anyone for hire? |
| dec | perlbot: hire? |
| action | dec shrugs |
| dec | shrugs MarketingXpert: jobs.perl.org or jobs.perl.com would be your best bet. |
| simcop2387 | perlbot job perlbot jobs |
| perlbot | See linuxnohow for job oppos |
| qasim | infi: what will be the command on the console/terminal to run this getopt...i am trying filename s but its not working |
| infi | -s, as that is what getopt expects and is designed for. |
| qasim | oh k, thanks |
| action | CPAN upload: CPANPLUS-0.77_04 (+++++) by KANE |
| CPAN | upload: CPANPLUS-0.77_04 (+++++) by KANE |
| eMish_ | GumbyBRAIN: lifetime of a filename being as it is |
| GumbyBRAIN | I think the tema would ever look as out of it. |
| jpeg | GumbyBRAIN: 200 grams Diphenhydramine, please |
| GumbyBRAIN | Please be more happy when i pack a string and strip off some text? |
| jpeg | she sucks. |