Help for this page

Select Code to Download


  1. or download this
    my $filename    = $upload->file_name( 'fichier' ); 
    my $type        = $upload->file_type( 'fichier' ); 
    my $file_handle = $upload->file_handle( 'fichier' );
    
  2. or download this
    sub file_XXXX {
        my $self = shift;
    ...
    
        return $self->{'_PARAMS'}->{$param}->{'file_XXXX'};
    }
    
  3. or download this
        my $object = {
            'file_handle'   =>  $fh,
    ...
        $fh->binmode if $CGI::needs_binmode;
    
        return $object;
    
  4. or download this
    sub _handle_file {
        # ... more code
    ...
    
        # ... more code
    }
    
  5. or download this
        my $browser = HTTP::BrowserDetect->new;
        fileparse_set_fstype(
    ...
                    ? 'MacOS'
                    : $^0
        );
    
  6. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print test( 3 ),$/;
    print test( 5 ),$/;
    sub foo {};