Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Mac::Errors 1.13

    Download button

    No screenshots available
    Downloads: 309  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    brian d foy | More programs
    Perl Artistic License / FREE
    March 7th, 2007, 20:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Mac::Errors description

    Mac::Errors is a Perl module with constants for Mac error codes.

    Mac::Errors is a Perl module with constants for Mac error codes.

    SYNOPSIS

    use Mac::Errors qw(openErr);

    if( $value == openErr ) { ... }

    my $error = $MacErrors{ $symbol }; # -- OR -- my $error = $MacErrors{ $number };

    my $symbol = $error->symbol; my $number = $error->number; my $desc = $error->description;

    # in MacPerl, $^E is meaningful, and we tie $MacError to it use Mac::Errors qw( $MacError );

    open FILE, $foo or die $^E; # error number open FILE, $foo or die $MacError; # gets description from $^E

    The %MacErrors hash indexes error information by the error number or symbol. Each value is a Mac::Errors object which has the symbol, number, and description.

    The $MacError scalar performs some tied magic to translate MacPerl's $^E to the error text.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Mac error codes | error codes constants | Perl module | Mac::Errors | Mac | error

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM