Few questions from a beginner

hi there , i have a few questions first thing
is it possible to make every connector that comes out of a specific shape the same color , im building a map where 1 shape gives of multiple connections, i want them all to be in the same color, and the connections coming from the second shape are all in
a different color from the first shape
second question: how can i select all the connectors that pass in a particular area
i selected in the option select shapes partially in area, but it selects connectors that are NOT in the area that i selected
thank you very much for your help

There is no out of the box way for the first question but you can write a macro to do that. 
Shape properties Shape.Connects and Shape.FromConnects can be used for selecting all
outgoing connectors of a shape programmatically. And then appropriate formatting (colors) can be applied on selection by selection.

Similar Messages

  • Oracle Triggers  - A few questions from a beginner to oracle.

    Hi,
    1. If we cannot COMMIT within a trigger, then how is it possible to use TRIGGERS to INSERT rows into an audit table that will track any INSERT/UPDATE attempt on a table. I have to record even failed attempts.
    2. Is it possible to make API calls from within a TRIGGER? (This API will write out data from the table being INSERTED/UPDATED into corresponding tables in a MYSQL database (somewhat like replication))
    3. If 2 is not possible, we are planning to write updates to an intermediate table that will be checked by a webservice every few minutes and in turn update the MYSQL db.
    Please help/advise.
    Thx.
    Vis.

    1. use autonomous transactions.
    2. if the API a PL/SQL code, yes you can call PL/SQL from
    the trigger body.
    To connect Oracle and MySQL, following thread might help:
    Re: Oracle to MySQL database connectivity
    Message was edited by:
    Pierre Forstmann

  • A few questions from a beginner

    Please don't hit me because of my questions...
    1. Is there a build in method (class or whatever) to increase an array size? I don't want to copy the array each time into a larger array and then setting the pointer of the new larger array to be the same as the old smaller array. I mean a method like Array.increase(param) or something like that.
    2. Is there a way to find out how many dimension an array has? A build in method like .length
    3. Can I convert a array into a vector? If yes, how?
    4. The Math.round() method accepts only one parameter which contains the double number to be rounded. But it does't have a second parameter by which I can tell the method to round a number to the second (third or whatever) number after the dot. Is there a method like that somewhere else or do I need to program it for myself?

    ::smack::
    there, now that's out of the way..
    1) No.. arrays are static in length, which is set upon instantiation. If you need a datatype to store multiple objects that will need to increase in size, you should use Vector.
    2) I believe I'm right in saying that there's not really a way to check that. A multidimensional array is basically an array of arrays. I guess you could know that if you got myarray[0] and did a check to find out what datatype it was, you'd know that if the index contained an array, it'd be 2D ... then you could check that array, etc. However, since you are declaring the array, and when passing the array, you'd have to specify what it was (ie public void foo(int[][][] my3dIntArray) ) you should never not know the dimensions.
    3) Yes. But you'll have to loop through your array and add items to the Vector.
    4) You're right, it doesn't. Now that you mention it though, I can't think of a method that does that.... but it shouldn't be too hard for you to work out your won.

  • A few questions from a REAL beginner

    OK, so I am very very very new to HTML, CSS and Dreamweaver and I have a few questions. But before I start let me just state that I have been messing around with HTML, CSS and Dreamweaver for like one week so take it easy if these questions are obvious.
    1. Is there a way to create a type of "sign in" function that is relatively easy? Or do you have to have knowledge of many different scripts and languages to do so?
    2. I would like to have an archive system where if I post an article on my site and then two days later i post another one it saves the first one i posted and can be viewed in some form over time. Is this possible?
    3. If multiple people will be posting on my site is there a way I can have it set up where the articles automatically say "posted by _______" after each person signs in (If #1 is possible of course)
    4. And lastly, this one is similar to #2 but is there a way to make a blog type setup in Dreamweaver? Yes, yes i know there is wordpress and I frequently use wordpress but you can only have on blog page per url and i dont like that. I am trying to be able to write multiple articles in a day and would like for them all to be reached pretty easily.
    Thanks in advance to the brave person who will put up with my childish questions.
    And just so you all know i would like for the person answering these to explain them as if they were talking to a child lol

    Heya,
    First you have to choose a scripting language in order for one to direct you to tutorials on how to use it. I recommend php as it seems to be the most widely used and supported. Then go over the the Application Development forum since that's where most discussions of this nature reside.
    Whatever scripting language you choose you'll have to setup a database first. I recommend MySQL; again as it seems to be the most widely used. Then connect your database to dreamweaver through the Server Behaviors window. After that you can add server behaviors to help in your development. For instance Dreamweaver has server behaviors to create registration, signup, restrict access pages. Then you can have a page that uses a Insert Record, Update Record, Remove Record server behavior to add, edit, or remove blog entries into your database. After that have another page that uses the Recordset server behavior to get a record of the database. You can then display the record on the page by dragging the value of the recordset from the Bindings Window in Dreamweaver. There's also repeat region server behavior to repeat the record to show (all or) a set amount of entries like blog1, blog2, blog 3 etc. There's also a Paging server behavior to automatically create page indexes of blog entries so first 10 on one page with links to page 1, 2, 3, 4 previous, next, first last, etc. to show additional entries on respective pages.
    Your best course of action is to have a definite agenda of development goals. First choose a scripting language, then setup your database. Connect your database to Dreamweaver, then add server behaviors. That's the workflow for dynamic development. After that creating your feature is basically only a matter of what server behaviors to use and what queries to run to your database. If you have any other questions about development it may be best to ask further inquiries in the Application Development forum. If/when you do ask in the forum about stuff like this then mention what scripting language and database model you're using.
    Oh and also if this is your first venture into dynamic development then do yourself a favor first and setup a local testing server on your computer. What kind of computer are you using? Mac/PC and what OS version? There's different ways of setting up a local testing server depending on your computer and OS.
    I am in the Application Development forum a lot so if you have any other questions regarding dynamic application development just hit me up there.
    Hope that helps!

  • A few questions from someone new to Aperture (and DSLR photography)

    Hi - I have just got my first DSLR camera (A Nikon D3000) and am trying out Aperture 3. I had a few questions which aren't all just necessarily Aperture related:
    I have imported my library from iPhoto, however now all my albums are in alphabetical order, rather than date created. I only seem to have the option to arrange my albums by, "Kind", "Name" or "Manual". Any idea how I restore the date created order?
    This may be too large a subject for here (I should probably buy a book on the subject), however JPEG, NEF and TIFF - I am shooting in raw mode which is generating NEF files. I had tried RAW+JPEG, but the basic JPEG this creates is really quite poor. The NEF files are generally around 7-12Mb. If I open them for editing in Photoshop, a TIFF file is generated in Aperture which looks to be over 8x the size of the original raw file, sometime over 100Mb. I then seem to be able to save it back as a JPEG at pretty much maximum quality which results in a file slightly smaller than the original raw file. Is it necessary to keep the large TIFF files once I've created a jpeg? Am I best off just keeping the finished jpeg and the original raw file in case I want to make changes?
    When publishing to flickr, It would be good to be able to just publish the latest versions of all photos in an album. ie not the same photo in tiff, nef and jpg format. Is there an easy way to do this, or is it a case of manually picking each one?
    Also - When uploading NEF files to flickr it would appear to convert them to jpg, which is kind of good I suppose, but does anyone know what level of quality the jpegs created are? Am I best off converting them to jpeg myself first and then uploading? If I did this then my albums would be full of duplicates in different formats, which leads back to my previous question about uploading just one version of each. That may be a question for the flickr forum...

    You have jumped into the deep end with both feet.
    With Aperture running select the single the Browser and you will find the sort controls under the Mobileme to New Smart Album icons depending on how stretched out you have the Inspector panel. There is the ability to sort by just about every parameter there either ascending or descending.
    Can Aperture not convert your NEF files? You dont have to have Tiff files at all. See your Preferences regarding External Editor. How much storage space and your archiving requirements will influence your decision about retaining Tiff files.
    I know nothing about Flickr but assume you will have to choose your own images. I doubt a Smart Album can select exactly what you need.
    When uploading files online galleries generally optimise the images. You are wasting your time uploading massive Tiffs IMHO. Most web services work with jpegs I understand. Consult the Flickr help and support for their requirements and advice.
    Enjoy your new hobby.
    AW
    Whether you have the room to save Tiff files as well as Raw files will probably decide whether you keep them or not.

  • A few questions from possible Apple TV newbie

    Hi all,
    I am interested in buying Apple TV and have read the product description on the Store section.I have a few question as I don't quite get how it works.
    I watch digital/freeview TV currently on my iMac using a USB eye-TV thingy. Works Great!
    I share WiFi connection with my neighbour to get onto the internet. Good speeds, good signal and works great.
    I don't own a 'regular' TV Set.
    Would adding Apple TV work here? Can I connect this and make it work or am I missing the point completely?
    Any pointers to user guides, previous posts or tips would be great.
    Thanks y'all.

    stellamaris5 wrote:
    Would adding Apple TV work here?
    think of TV as a way to get your iTunes library (plus some internet related features such as youtube and movie rentals from the iTunes store) to a HDTV.
    if you don't own a HDTV, TV is not for you IMHO.
    JGG

  • A few questions from a newbie!

    Hello!
    So, I am VERY new to using Mac productions and I just got my Macbook recently.
    I have a few questions that may seem to have a very simple and obvious answer but like I said, this is all new to me...
    1. Do I have to install a anti-virus/spam program? If so, which one?
    2. Time Machine- this is the program to back up files right? when I try to set it up it doesn't give me any options for a back up disk.
    Anything else that I should defiantly know please let me know!
    Thanks so much!
    Alanna.

    Alanna J wrote:
    1. Do I have to install a anti-virus/spam program? If so, which one?
    Not unless you want to. I have had Macs for 2 years and never had a problem. This is a good one if you decide to install one. ClamXav
    2. Time Machine- this is the program to back up files right? when I try to set it up it doesn't give me any options for a back up disk.
    You need an external hard drive attached to use with Time Machine. This explains it.
    Mac OS X 10.5: Using Time Machine and troubleshooting Time Machine issues
    Anything else that I should defiantly know please let me know!
    This is info that will help you get the best life from your battery.
    It is OK to leave your battery hooked to the charger most of the time. The only time I unhook mine from the charger is when I calibrate or for a few minutes to use in another room. Have you calibrated your battery yet? You should calibrate every two months or so to keep the battery fully functioning. If you use your MacBook infrequently, it’s best to re-calibrate the battery at least once a month.
    It is best not to use your battery unless you need to. Some people have hurt their batteries by charging then discharging every time they use the MacBook. This will age a battery very fast and cause you to buy a battery sooner than you should have too. Don't discharge the battery just because you used it. Li-Ion batteries prefer small charges over big ones. Use it and then plug it in as soon as you can. The only time my Battery is ever fully discharged is when I'm doing a calibration.
    The following links have good information about the MacBook and the care of it's battery.
    Apple: Tips for maximizing your Notebook battery charge
    Apple MacBook and MacBook Pro: Reduces processor speed when battery is removed while operating from an A/C adaptor
    Apple portable computer's battery does not show a full charge in Mac OS X
    Look here and here for some good tips about battery care.
    Apple MacBook: How to remove or install the battery
    Apple: Determining Battery Cycle Count
    Apple: Use and cleaning of MagSafe power connector

  • A few questions from a prospective GarageBand user...

    My sister got a new Mac last year, and I love messing around on garageband, but I had a few questions.
    I have only recently started to mess around with the non software instruments (i.e. playing an instrument or singing into the microphone that is built into the computer)...I was wondering, is there any way to hook up a better mic to the computer so that I could get better sound quality??
    Also, instead of using the keys on my computer, is there any way I could buy a synthesizer at a place like best buy and hook it up to the computer and play it with Garagebad??? Would I be able to use all the "software" sounds that come with the synthesizer as well as the ones on the computer? Could it hook straight up to the computer, or would I have to use a microphone to get the sound off the synthesizer??
    Thanks for the help!!

    I need a "controller" keyboard in order to play with garage band
    a controller to record MIDI (play GB's instruments), if you want to use GB like a tape recorder you could record the audio from a synth (keyboard) into GB
    I can't plug in an electronic drum kit that I physically use drum sticks to hit
    if it's a MIDI controller drum kit, than you should be able to do so with a MIDI interface. if not, like above, you could use GB liek a tape recorder and plug an audio out of the kit into the Line-In on hte mac.
    playing the guitar on garage band as one of the external instruments, what is the best way to do it??
    use an audio interface:
    http://www.bulletsandbones.com/GB/GBFAQ.html#interfaces
    some people find pugging a guitar directly into the mac, though most do not:
    http://www.bulletsandbones.com/GB/GBFAQ.html#pluginguitar
    (you can certainly try, it's nearly free, so why not)
    Would I have to buy a good external microphone and just put it in front of the amplifier that the guitar is plugged into to get the best sound??
    that's the way i do it, and to really capture that amp sound, I think it's best, though it's a little more complicated because you can't really plug a mic into a mac, again you need an interface/preamp

  • Few questions from a new user

    Hi Guys
    I've had my 3gs 16GB for about a week now. I am absolutely loving it, but I have a few questions.
    I am completely new to apple products. I had never used itunes before I bought my phone.
    First question is about the battery. I know this has been greatly discussed and I have searched through the forums and have found just about all of the answers I was looking for, so this is more of a comment than a question. I was a little worried about all the issues people are having with their battery life, so I did a few tests. I am pretty happy with the results. I have the following settings:
    wifi - on
    notifications - on
    brightness - ~40%
    bluetooth - off
    3G - on
    push - off
    fetch data - hourly
    After 48 hours the battery is at 10%. Usage is at 5 hours which included mostly internet browsing on wifi, about 20 sms messages, and about 10 minutes of calls. This is about what I was expecting. The only question I have about the battery is about charging. I am going to charge it daily and once a month fully drain and recharge. I haven't found out if it is ok to leave it plugged in after it has fully charged. Do I need to take it of the charger when it is fully charged, or does the battery shut off and just use the external power source? Ideally I would like to charge before I go to bed and take it off the charger when I wake up.
    Next question is mainly about accessories. I would like a good case that is minimal, but still providing protection from scratches. Are there any good recommendations or is it just kinda personal preference. Also, has anyone tried some of the screen protectors on the market? Can you tell that they are there, or do they give you any problems with the "touch" and "feel" of the screen?
    Thanks

    joshdsalley wrote:
    Hi Guys
    Next question is mainly about accessories. I would like a good case that is minimal, but still providing protection from scratches. Are there any good recommendations or is it just kinda personal preference. Also, has anyone tried some of the screen protectors on the market? Can you tell that they are there, or do they give you any problems with the "touch" and "feel" of the screen?
    Thanks
    I don't use a protective case on my iPhone has I think it spoils the look of it. Instead I have a leather case that provides protection from the screen getting scratched and can be easily taken out when I need to use the iPhone.
    The case I got has a soft velveteen interior which protects the screen from scratches. It wasn't cheap (£25) but it is well made and is lovely soft leather, and you can tell it will last.
    Here's the link to it:
    http://www.knomobags.com/eshop/knomo_product.asp?SS=5&C=84&CA=227&P=394
    I have read though that some screen protectors can interfere with the photo sensors on the iPhone (there the 3 little dots that you can see to the left of the earpiece) whereby the screen will remain on or off when it shouldn't be.

  • Few Questions From A New

    what's up? new creative user, just jumped on board in april with a Muvo Micro N200 GB and bought my little sis a 256 Muvo TX FM. I just have a few questions for the experienced users.
    . What's the point of the Zen Micro? Spend 80 bucks on a 5 GB player when you can buy a 20GB player for around 200 (Zen Xtra), what sense does it make?
    2. Why doesn't the zen touch come in 60GB capacity like the XTRA?
    3. Why is the Touch soo much more expensi've than the Xtra?
    4. Why are people still buying ipods when creative is >>> the ipod in almost every way? Show me an ipod with 20 gigs that can hold 0,000 songs, FM radio, voice recorder, and with a 24 hour battery life.
    5. why is Cnet.com sooo biased towards the ipod?
    6. WHERE is the zen sleek available? I checked amazon.com - not there.
    7. what's the difference between the muvo micro n200 and the zen nano plus that I've seen in walmart? features are the same.
    8. Why doesn't creative include some REAL headphones with their mp3 players instead of those pieces of feces that they come with now? After spending 300 for a 40 gig zen touch, I deserve some decent headphones!
    dang, didn't realize I had soo many questions.

    Okay, let me give this a try:
    . Simple - the Micro is smaller. For many folks, convenience and portability are more important than capacity. Try fitting an Xtra in your front pocket.
    2. Again, it's a size issue. The Touch uses a single-platter .8 inch dri've. In any player the bulk of the space is taken up by the dri've and the battery. bigger dri've=bigger player. The Touch was designed to compete with the itty-bitty Ipod.
    3. The Touch is a newer model that incorporates the whole "touch" interface. Newer things are almost always more expensi've.
    8. No company provides decent headphones with their player. Have you ever heard Apple's headphones? Part of this is cost, and part of it is that for many people, especially audiophiles, headphone choice is very personal. It is akin to why most bikes don't come with pedals.
    There you go Bitch!Message Edited by cameron on 08-02-2005 07:35 AM

  • My New Curve 8330! (few questions from a noob!)

    So I finally got the Curve 8330 - I had been waiting all this time for the Thunder but decided yesterday that if my fingers are too fat for an iPhone, then they will be for the Thunder as well. Anyways, I LOVE the Curve thus far...just a few questions.
    #1) Do the "messages" and "[email protected]" icon serve the same purpose? If so, which I think they do, how do I filter the "messages" icon so that ONLY my incoming SMS messages are shown??? As of now, the "messages" icon is cluttered with e-mail, SMS, bb mesanger & voicemail! I HATE THAT! I'd rather keep it clean and organized so that If i wanna view my SMS messages, I click on "messages" If I wanna view my bb messanger messages, I click on the bb messanger icon, If i wanna see my e-mails, I click on the "[email protected]" icon and so forth. Is there a way to filter it this way???
    #2) When I send an e-mail, I automatically get THAT e-mail sent back to me! How do I disable this function? I have no need to recieve in my INBOX the e-mail I just sent out.... I tried going into "Messages->options" and turning the "hide sent" to "ON" but this problem still occurs...... Any help on that?
    #3) I have this stupid "Facebook" icon in my menu, how do I delete this permanently?
    Thanks everyone, I'm sure i'll have more questions as I'm readin through! 

    Yes, when you go into your messages and hit the menu key and select options and general options. Email and sms messages should be set to separate. Hit the back key to the right of your trackball to save. If you do not see an icon now just for sms and mms, do a battery pull. Take the battery out with the phone on and leave it out for 30 seconds. Replace it and allow the phone 1-3 minutes to reboot does the icon appear now?
    ~Lorrie~ Master of All Things Blackberry!

  • Few questions from Beginner

    1. Tomcat and JSWDK , which one is better for starting development ?
    2. Which IDE is better ? I use Kawa , but the HTML edit function is quite weak ?
    3. POST and GET , what's the major difference , I only knew that POST is more secure and allow to submit long string .
    4. What kind of validation should be done by Severlet , HTML (Javascript) , JavaBean , JSP ?

    1 and 2. I don't have much experience with any of these, so I'll let someone else give their opinions on them
    3. POST and GET , what's the major difference , I only knew that POST is more secure and allow to submit long string.:
    Both a POST and a GET send a request to the server, but the difference is that any request parameters (such as those from a form or file upload) are stored in the URL string for a GET, whereas in the POST they are stored in the body of the request. Because a GET stores all it's parameters in the URL string, you are typically limited by the maximum length each individual browser can send in a URL string (often times 512 characters). Also, parameters in the GET are easily accessible by the user, which is sometimes not very aesthetic looking and certainly should not be used for sensitive information. POST requests can contain unlimited parameters since they are stored in the request data itself. These parameters are not "apparent" to the user, and as such are good for hidden parameters. However, do not assume that because the user can't see it, that the POST request is "secure". Only an SSL connection can do that.
    4. What kind of validation should be done by Severlet , HTML (Javascript) , JavaBean , JSP ?
    I typically use Javascript to do FORM validation, if necessary. However, servlets (and JSPs) can do parameter validation and throw errors if necessary.

  • A few questions from a new tech...

    It is based on the conversion process of a Cisco 6500 Series switch (WS-Sup720-3B release) w/MSFC3 from a hybrid mode (CatOS/IOS) over to a native mode. I've found a few conversion processes online however, I do not know which process is the best to use (as some of them seem outdated) and detailed enough:
    http://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/12031-catos-ios-conversion-6500k.html
    http://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/70273-70273.html
    http://www.ciscopress.com/articles/article.asp?p=102093&seqNum=5
    Also, another question that I have is about the correct, most up-to-date software. Whenever I use the Cisco software download navigator to search for an applicable image, I see different images based on various network requirements. Are these images applicable to this process? 
    https://software.cisco.com/download/release.html?mdfid=280829702&flowid=20135&softwareid=280805680&release=15.1.2-SY4a&relind=AVAILABLE&rellifecycle=ED&reltype=latest
    Any help would be very much appreciated.

    It depends on how complicated your configuration is.
    When I did this a long time ago I just did it by hand ie. I didn't use a conversion tool I just created a new configuration in a text editor and then copied in the new configuration.
    A lot of the commands in a configuration are defaults and you don't necessarily need to replicate them because you will get a new set of defaults when you convert.
    If you have a lot of extra configuration eg. QOS then it may be worth using one. It really depends on how well you know what your switch is currently doing.
    In terms of IOS image key things are -
    1) feature set ie. you need a feature set that supports all the things you are currently doing
    2) memory on your supervisor and whether you have enough
    3) module support ie. you need to check the release notes for each release because they may not support all your existing modules
    Jon

  • Few questions from new owner

    Hi all.
    not been on for a while but im back now its upgrade time.
    had my previous 9800 torch for 3 years and it was starting to show its age so i went for an upgrade.
    first got a samsung s4 on saturday and within an hour put it back in its box and took it back to vodafone.
    reason im so used to a real keyboard. so i changed it for a Q10
    it wasnt the best move as im blind in one eye and the smaller screen is a bit of a strain. managed to enlarge text so things are on the right track.
    questions i need advice on this time is:
    1) how can i extend the ring when a call is coming in as ive only had 2 calls so far. the first time it rang 4 times and then went to answer phone. today it rang once and went to answer phone. on my torch i had it set to 6 rings but so far cannot find how to change it on the Q10
    2) how can i change the background colour of the callender. default is black and im so used to white background on the torch. also for some reason only birthdays transfered across using vodafones little red box. no appointments,meetings or anything else i had on weekly repeat. instead of entering one by one ive started adding them into yahoo callender which are syncing to the phone but now yahoo callender has started crashing with problems. will get there one day.
    3) how do i delete contacs from BBM as the only option i can find is clear chat.
    4) why the heck did they remove the back button and the scroll.
    5) i didnt go for 4G even though its only £5 a month more. is it really worth it. what will it speed up. if its just web brousing then i wont bother as i use a computer for that.
    thanks in advance
    Jim

    [quote]Barrery drain: Try to switch off the WiFi overnight (or when you don't need it). Helps a lot.
    Enjoy your Q10,
    Mako[/quote]
    thanks Mako
    not used the wifi at all so its not that. thanks anyway.
    [quote]For question 1 this must be an operator setting (not phone to my knowledge). At least this is the case in my country
    For question 2 you can do it in the app settings of calendar and contacts since the 10.2 update
    For question 3 ???
    For question 4 it is a clear choice made by BB (related to the new OS10 interface/gestures and touchscreen of Z10)
     For question 5 yes 4G is really a blast compared to 3G[/quote]
    thanks Messagepads.
    will get onto vodafone about rings. sure it was on the handset for the torch but of course new OS so different.
    sure i updated when i got the phone on sunday but cant see any options. will double check it loaded properly as i had to connect to computer to download it and every few seconds the connection would disconnect. it said failed to download but then rebooted and then said sucessfull.
    BBM i not that important as most people use whats app now.
    i will still pass on 4G for now but may upgrade in the future.
    thanks for the replys.

  • Basic Perl questions from Perl beginner now using Leopard

    Question: I used to dabble in Perl programming (beginner!!) and want to continue my dabbling with my new iMac running Leopard.
    Which Perl do I need to install?
    Where do I get it from?
    What tricks / concerns are there in the installation?
    What's the best source of information (books?, internet?) for learning about using/programming Perl on Leopard?
    Any other advice that you believe would be helpful would be appreciated.
    Many thanks!! D

    I used to use MacPerl as well, it's even better now that Perl is pre-installed and native.
    The two thing that took me the most time to figure out are:
    Line endings. All my old scripts had carriage return - line feed as end of line delimiters.
    On linux they have to be line feed '\x0A'. You do that by setting it in your text editor. I use BBEdit or Text Mate to write perl, although I'm pretty sure that using TextEdit will work, and will have line feed line endings.
    Setting the script's executable bit. A script file needs to have a bit set in the linux filesystem to tell linux it's executable. You do that by opening the terminal and typing chmod +x then drag your script file into the terminal and pressing return.
    That's detailed here:
    http://www.oreilly.com/pub/a/mac/2003/11/07/scripting_osx.html
    Also there are 2 main ways to run your script.
    One is by opening Terminal and +typing perl+ then dragging your script into the terminal window and hitting return. if you want to do it this way the very first line in your perl script needs to look like this:
    #!/usr/bin/perl
    The other way (which is only slightly easier) is by dragging your script into the terminal window and hitting enter, no typing perl every time. To do this the very first line of your perl script needs to be:
    #!/usr/bin/env perl
    Another huge tip is if you are in the Terminal window hitting command-up arrow will show you the last command you typed in, so you can hit enter and re-run it.
    Other than that stuff I can't remember any differences between regular linux perl and Leopard perl. I still refer to the Camel book I bought 15 or so years ago.
    So type into a text editor:
    #!/usr/bin/perl
    use strict;
    use warnings;
    print "Hello World\n";
    Then save the file as Hello.pl
    open terminal and type *chmod +x*
    drag Hello.pl into the terminal and press return
    Type perl into the Terminal
    drag Hello.pl into the terminal and press return.
    and it should print.

Maybe you are looking for

  • HT4910 Getting contacts to sync between iPhone and iPad

    I can't get my IPad to sync contacts with my IPhone Both are ios7.02 and synced with the same iTunes account on the same computer On the iPad in Settings under the Mail,contacts,calendars tab under the section labelled Contacts There are only 4sub-he

  • My wife's iPad 2 won't update to IOS 5 on her iMac, my iPad 2 updated fine on my Dell PC- what gives?

    My wife has a new (less than 6 months old) big beautiful iMac (of which I am extremely jealous-but that has no bearing on the conversation at hand) but every time she tries to update her iPad 2 to iOS 5 on iTunes she gets the error code 3259 at the v

  • How to retrive archived messages in sxmb_moni

    Hi, My client  want to see specific date archive messages, how to see those messages in SXMB_MONI window.  Let me know any standard program and procedure.  I am using PI 7.0 version SP19.

  • IBAN Code Error

    Hello All , I want to update IBAN code on vendor master data . There is an error message when I want to update it . IBAN is not valid. Is there anybody see that kind of error ? Thanks Dash

  • Whatsapp giving "corrupted Messagelog" message

    Hi guys, Sometimes i have a problem with whatsapp on my xperia z3 that when i go to sleep and turn off all the data/network connections and start them again in the morning, whatsapp will tell me that my messagelog got corrupted and if i want to reloa