Sponsored Content
Full Discussion: true dummie calling
Top Forums UNIX for Dummies Questions & Answers true dummie calling Post 302104850 by Mark Thomas on Monday 29th of January 2007 05:36:52 AM
Old 01-29-2007
It sounds like a path problem to me, unfortunately I can't tell you how to fix that using cygwin. If you just want to compile fortran code then maybe MinGW ( www.mingw.org ) is the way to go.

Quote:
Originally Posted by www.mingw.org
MinGW ("Minimalistic GNU for Windows") refers to a set of runtime headers, used in building a compiler system based on the GNU GCC and binutils projects. It compiles and links code to be run on Win32 platforms... providing C, C++ and Fortran compilers plus other related tools.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help this Dummie

I am trying to integrate a Digital Unix Alpha server in a LAN that contains several NT severs. Could someone give me some advise on how to integrate Alpha server, so I can contact the Alpha from any NT and visa versa. Thanks! (1 Reply)
Discussion started by: Rmeyvogel
1 Replies

2. UNIX for Dummies Questions & Answers

Dummie Question, Can anyone take a screen shot of a UNIX system?

Since i have never seen one of these systems, i am just curious of how it looks. Btw if unix is not a GUI then is it possible to take a screenshots (4 Replies)
Discussion started by: Punk18
4 Replies

3. UNIX for Dummies Questions & Answers

Dummie Please Help With Unix And Win Xp

Please help : I have a question i am just starting to study UNIX and i need some advice,as my teacher isn,t the helpful type. I have just formatted my pc and partitioned it with win98 and winxp, do i need to create a partion for UNIX ??? OR is UNIX run in whatever partion i want it ???? Will... (6 Replies)
Discussion started by: DAFFYY30
6 Replies

4. UNIX for Dummies Questions & Answers

Dummie: How do I get variables mid program

I'm writing a simple program in unix and was wondering how mid switch I can run a program and get someone to enter variables for it i.e.: #!/bin/csh -f echo "If you wish to do v press v" echo "If you wish to compile press c" echo "If you wish to add an entry press a" echo "If you wish to... (1 Reply)
Discussion started by: RichardB
1 Replies

5. UNIX for Dummies Questions & Answers

Dummie question on ping (loopback)

what's the point of having loopback when you can just ping your local ip address? for example if my ip is 1.1.1.1, why can't i just do ping 5 1.1.1.1 instead of ping 5 127.0.1.1? it seems to me the only point in having it is for the sake of convenience? (2 Replies)
Discussion started by: jinduy
2 Replies

6. Linux

dummie questions

im a copletely newbie... i havent installed linux yet, but i wanna quit windows cuz i dont get it anymore... anything is better than this :mad: ... anyway...: does linux runs all file extensions thats windows does? i mean, .doc, .exe, .bat, .psp, etc? i reallly dunno how it works... normal... (3 Replies)
Discussion started by: guare_skt
3 Replies

7. Shell Programming and Scripting

dummie ksh

Please help me with a newbie ksh question: I want a script in ksh (under Solaris 8 - SPARC) who runs a "ls -lR" command in some directory and it looks after all the files with the same date as the current one and/or created in the last 24 hours (or N hours). The script should do: - if no... (3 Replies)
Discussion started by: heartwork
3 Replies

8. UNIX for Dummies Questions & Answers

is it true or not

I have heard for a long time that in maybe 2039 Unix will no longer be useable due the length of the date value. Anyone know anything about this? (4 Replies)
Discussion started by: dhlopomo
4 Replies

9. UNIX for Dummies Questions & Answers

Linux Dummie Here!

I know absolutely NOTHING about Unix but want to learn. How should I go about learning it? (1 Reply)
Discussion started by: Gosade
1 Replies

10. UNIX for Dummies Questions & Answers

I'm a dummie!

Hi I was installing 10.04. At 38 minutes remaining it froze and stayed that way for about 2 hours. I shut it down and now It's "frozen" for lack of a better term. ubuntu screen comes up, goes to black screen with blinking cursor. Anyone? Thanks! ---------- Post updated at 08:03 PM ----------... (1 Reply)
Discussion started by: martinnod
1 Replies
Moose::Manual::MOP(3pm) 				User Contributed Perl Documentation				   Moose::Manual::MOP(3pm)

NAME
Moose::Manual::MOP - The Moose (and Class::MOP) meta API VERSION
version 2.0603 INTRODUCTION
Moose provides a powerful introspection API built on top of "Class::MOP". "MOP" stands for Meta-Object Protocol. In plainer English, a MOP is an API for performing introspection on classes, attributes, methods, and so on. In fact, it is "Class::MOP" that provides many of Moose's core features, including attributes, before/after/around method modifiers, and immutability. In most cases, Moose takes an existing "Class::MOP" class and subclasses it to add additional features. Moose also adds some entirely new features of its own, such as roles, the augment modifier, and types. If you're interested in the MOP, it's important to know about "Class::MOP" so you know what docs to read. Often, the introspection method that you're looking for is defined in a "Class::MOP" class, rather than Moose itself. The MOP provides more than just read-only introspection. It also lets you add attributes and methods, apply roles, and much more. In fact, all of the declarative Moose sugar is simply a thin layer on top of the MOP API. If you want to write Moose extensions, you'll need to learn some of the MOP API. The introspection methods are also handy if you want to generate docs or inheritance graphs, or do some other runtime reflection. This document is not a complete reference for the meta API. We're just going to cover some of the highlights, and give you a sense of how it all works. To really understand it, you'll have to read a lot of other docs, and possibly even dig into the Moose guts a bit. GETTING STARTED
The usual entry point to the meta API is through a class's metaclass object, which is a Moose::Meta::Class. This is available by calling the "meta" method on a class or object: package User; use Moose; my $meta = __PACKAGE__->meta; The "meta" method is added to a class when it uses Moose. You can also use "Class::MOP::Class->initialize($name)" to get a metaclass object for any class. This is safer than calling "$class->meta" when you're not sure that the class has a meta method. The "Class::MOP::Class->initialize" constructor will return an existing metaclass if one has already been created (via Moose or some other means). If it hasn't, it will return a new "Class::MOP::Class" object. This will work for classes that use Moose, meta API classes, and classes which don't use Moose at all. USING THE METACLASS OBJECT
The metaclass object can tell you about a class's attributes, methods, roles, parents, and more. For example, to look at all of the class's attributes: for my $attr ( $meta->get_all_attributes ) { print $attr->name, " "; } The "get_all_attributes" method is documented in "Class::MOP::Class". For Moose-using classes, it returns a list of Moose::Meta::Attribute objects for attributes defined in the class and its parents. You can also get a list of methods: for my $method ( $meta->get_all_methods ) { print $method->fully_qualified_name, " "; } Now we're looping over a list of Moose::Meta::Method objects. Note that some of these objects may actually be a subclass of Moose::Meta::Method, as Moose uses different classes to represent wrapped methods, delegation methods, constructors, etc. We can look at a class's parent classes and subclasses: for my $class ( $meta->linearized_isa ) { print "$class "; } for my $subclass ( $meta->subclasses ) { print "$subclass "; } Note that both these methods return class names, not metaclass objects. ALTERING CLASSES WITH THE MOP
The metaclass object can change the class directly, by adding attributes, methods, etc. As an example, we can add a method to a class: $meta->add_method( 'say' => sub { print @_, " " } ); Or an attribute: $meta->add_attribute( 'size' => ( is => 'rw', isa => 'Int' ) ); Obviously, this is much more cumbersome than using Perl syntax or Moose sugar for defining methods and attributes, but this API allows for very powerful extensions. You might remember that we've talked about making classes immutable elsewhere in the manual. This is a good practice. However, once a class is immutable, calling any of these update methods will throw an exception. You can make a class mutable again simply by calling "$meta->make_mutable". Once you're done changing it, you can restore immutability by calling "$meta->make_immutable". However, the most common use for this part of the meta API is as part of Moose extensions. These extensions should assume that they are being run before you make a class immutable. GOING FURTHER
If you're interested in extending Moose, we recommend reading all of the "Meta" and "Extending" recipes in the Moose::Cookbook. Those recipes show various practical applications of the MOP. If you'd like to write your own extensions, one of the best ways to learn more about this is to look at other similar extensions to see how they work. You'll probably also need to read various API docs, including the docs for the various "Moose::Meta::*" and "Class::MOP::*" classes. Finally, we welcome questions on the Moose mailing list and IRC. Information on the mailing list, IRC, and more references can be found in the Moose.pm docs. AUTHOR
Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details. COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Infinity Interactive, Inc.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-28 Moose::Manual::MOP(3pm)
All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy