[rt-devel] lib/RT/URI.pm question

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Wed Apr 16 11:02:29 EDT 2003


What exactly does the $scheme do?  Create unique ticket IDs?
I asked because I see it setting fsck.com-rt.

    105         my $scheme;
    106         # Special case: integers passed in as URIs must be ticket ids
    107         if ($uri =~ /^(\d+)$/) {
    108                 $scheme = "fsck.com-rt";
    109         } elsif ($uri =~ /^((?:\w|\.|-)+?):/) {
    110          $scheme = $1;


-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / a capoeirista
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
Only the wisest and the stupidest of men never change...



More information about the Rt-devel mailing list