IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2007, 9:37:20 AM (19 years ago)
Author:
Paul Price
Message:

Removing use of the URI module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/warp_overlap.pl

    r13275 r13641  
    9292    foreach my $tess_id ( keys %$tessellations ) {
    9393        ### Because DVO doesn't use psModules, it doesn't understand Nebulous --- check
    94         my $uri = URI->new( $$tessellations{$tess_id} );
    95         if (defined $uri->scheme() and $uri->scheme() eq 'neb') {
     94        my ($scheme) = $$tessellations{$tess_id} =~ m|^(\S+):|; # The scheme, e.g., file://, path://
     95        if (defined $scheme and lc($scheme) eq 'neb') {
    9696            &my_die("Tessellation $tess_id refers to a Nebulous path: $$tessellations{$tess_id}", $warp_id, $PS_EXIT_CONFIG_ERROR);
    97         }                   
     97        }
    9898       
    9999        my $tess_dir = $ipprc->convert_filename_absolute( $$tessellations{$tess_id} ); # Catdir for DVO
Note: See TracChangeset for help on using the changeset viewer.