Jump to content

  • Log in with Facebook Log in with Twitter Log in with Windows Live Log In with Google      Sign In   
  • Create Account

Submit your paper to J Biol Methods today!
Photo
- - - - -

help me on strawberry perl =(


  • Please log in to reply
3 replies to this topic

#1 ikwana

ikwana

    member

  • Active Members
  • Pip
  • 27 posts
0
Neutral

Posted 30 September 2010 - 10:11 AM

how to use perl?

i've already install this perl.. then how to use it?
i have some code to be use by using this perl.. but where must i write the coding?

i use devc++.. but when i compiling, it says, 'sub' does not name a type

what does it mean???

#2 pcrman

pcrman

    Epigenetist

  • Global Moderators
  • PipPipPipPipPipPipPipPipPipPip
  • 1,160 posts
65
Excellent

Posted 30 September 2010 - 01:16 PM

Perl scripts do not need compiling.

To test whether your perl instilation is successful, you can bring up a cmd window by going to Start -> Run -> type cmd. In the command window, type: perl -V, you should a lot of information returned by perl about your instillation.

To run a script, write a script using a text editor like this:
print "Hello World!";

Save the file as hello.pl, then go to the same folder in cmd window and type "perl hello.pl", you can see "Hello World" on your screen.

In linux or unix, usually a perl script starts with #!/usr/bin/perl as the first line, in windows, it is not necessary.

#3 ikwana

ikwana

    member

  • Active Members
  • Pip
  • 27 posts
0
Neutral

Posted 01 October 2010 - 06:40 AM

where must i save the hello.pl?

i don understand, wut do u mean by go to the same folder in cmd window? cmd is wut? command?

#4 DELETEMYACCOUNTPLEASE

DELETEMYACCOUNTPLEASE

    Y U NOT DELETE MY ACCOUNT?

  • Active Members
  • PipPipPipPipPip
  • 58 posts
1
Neutral

Posted 04 October 2010 - 03:17 AM

Try this:
http://www.gossland....ro/running.html




Home - About - Terms of Service - Privacy - Contact Us

©1999-2013 Protocol Online, All rights reserved.