Help for this page

Select Code to Download


  1. or download this
    sub get_string {
      return "the string"
    ...
    # Can I reduce the following two lines to one
    my $string = get_string();
    &put_string_ref(\$string);
    
  2. or download this
    put_string_ref(\{get_string()});
    put_string_ref(\${get_string()});
    put_string_ref(\$&get_string);
    put_string_ref(\{&get_string});