Help for this page

Select Code to Download


  1. or download this
    my $command = sub { \@returnstring = \$d->checklist( text => $text, li
    +st => [ @list ] ) };
    &$command;
    
  2. or download this
    Can't modify reference constructor in scalar assignment at ./cdialog.p
    +l line 43, near ") }"
    Execution of ./cdialog.pl aborted due to compilation errors (#1)
        (F) You aren't allowed to assign to the item indicated, or otherwi
    +se try
    ...
    Uncaught exception from user code:
            Can't modify reference constructor in scalar assignment at ./c
    +dialog.pl line 43, near ") }"
    Execution of ./cdialog.pl aborted due to compilation errors.
    
  3. or download this
    my $command = sub {
            $d->checklist( text => $text, list => [ @list ] );
    };
    
    my @returnlist = $command->();
    
  4. or download this
    Can't use string (",") as an ARRAY ref while "strict refs" in use at
            /usr/local/lib/perl5/site_perl/5.8.3/UI/Dialog/Backend/CDialog
    +.pm line 581 (#1)
        (F) Only hard references are allowed by "strict refs".  Symbolic
        references are disallowed.  See perlref.
    
  5. or download this
    my $command = "my \@returnstring = \$d->checklist( text => $text, list
    + => [ @list ] );";
    
  6. or download this
    my @returnstring = $d->checklist( text => Text, list => [ '1' , [ 'ite
    +m1' , 0 ] , '2' , [ 'item2' , 0 ] , '3' , [ 'item3' , 0 ] , '4' , [ '
    +item4' , 0 ] , '5' , [ 'item5' , 0 ] , '6' , [ 'item6' , 0 ] ] );