Help for this page

Select Code to Download


  1. or download this
    char *foo = SvPV( RETVAL, 0 );
    fcn( foo );
    printf( "string: %s  length: %d", foo, strlen(foo) );
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
       printf( "String is %s with len of %d (%d)\n", 
          ptr, x, strlen(ptr) );
    }