Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 06-28-07   #11 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,470

FAQs Submitted: 7
Folding Team Rank: 390
Trader Rating: 0
Default

You can still run perl in windows, it is possible. Yes it is easier in *nix though. You could always setup vmware and install ubuntu in vmware. So then you wouldn't need to reboot.

what version of Perl is it? 5.6 or 5.8 or something else.
If its 5.6 are newer then after your first line definitly add the line:
use warnings;

It'll help you a lot in finding out what went wrong where if theres a bug.

If its older then add a:
-w
at the end of the first line.

To run it in windows though you'll have to open a terminal/console.

Quote:
Is there a free compiler that can turn the script to an executable for free?
Look into Perl2exe.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64
Monitor
Acer AL2216W 22" WS LCD

Last edited by dangerousHobo : 06-28-07 at 12:49 PM.
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Old 06-28-07   #12 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Apr 2007
Posts: 76

Rep: 0 shook2000 Unknown
Unique Rep: 0
Trader Rating: 0
Default

Quote:
Originally Posted by dangerousHobo View Post
You can still run perl in windows, it is possible. Yes it is easier in *nix though. You could always setup vmware and install ubuntu in vmware. So then you wouldn't need to reboot.

what version of Perl is it? 5.6 or 5.8 or something else.
If its 5.6 are newer then after your first line definitly add the line:
use warnings;

It'll help you a lot in finding out what went wrong where if theres a bug.

If its older then add a:
-w
at the end of the first line.

To run it in windows though you'll have to open a terminal/console.


Look into Perl2exe.


ok so i opened a terminal, upened perl.exe from the activeperl install and it opened a terminal but i still dont know how to run the program from there. can someone explain exactly how to do this?
__________________
System: My System
CPU
AMD X2 4800 Brisbane
Motherboard
Gigabyte GA-M55Plus-s3g
Memory
1gb
Graphics Card
EVGA 7600GS
Hard Drive
1x160, 1x120, 1x40 1x20
Sound Card
onboard
Power Supply
Orion 580 Watt
CPU cooling
Big Tyhpoon
OS
Win Vista Ultimate
Monitor
sceptre 20 inch widescreen
shook2000 is offline   Reply With Quote
Old 06-28-07   #13 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,470

FAQs Submitted: 7
Folding Team Rank: 390
Trader Rating: 0
Default

Try running this test script.
Code:
use warnings;
print "Hello World\n";
and save it as something like, hello_world.pl
then you should be able to run it from the terminal by typing: perl c:\path\hello_world.pl

Don't use the shebang symbol either(the #!);
For some more info, here.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:01 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.23698 seconds with 8 queries