Perl 6 - the future is here, just unevenly distributed

IRC log for #padre, 2014-11-04

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:51 itcharlie joined #padre
04:23 user_8446 joined #padre
04:25 user_8446 hello
04:25 itcharlie hello
04:25 itcharlie need any help?
04:25 user_8446 yes
04:25 itcharlie whats up?
04:26 user_8446 I have installed Padre, so how can I run Perl scripts
04:26 user_8446 should I install strawberry, activestate or nothing with padre
04:28 itcharlie the version of perl shouldn't really matter. However this tells me that you are using a windows machine.
04:28 itcharlie you can run perl scripts from Padre itself
04:29 itcharlie give me a sec to load my padre installation and show you how
04:29 user_8446 so there is no need to install strawberry or activestate now :)
04:29 itcharlie well you should have one of them installed.
04:30 itcharlie how did you install Padre?
04:30 user_8446 downloaded and just installed and then I opened it .... that's all
04:31 itcharlie DWIM Padre installation ?
04:31 user_8446 yes
04:31 itcharlie ok
04:31 itcharlie so you should have Strawberry installed with that setup
04:32 itcharlie ok there is a menu item at top named"Run"
04:32 itcharlie Click on Run->Run Script
04:33 user_8446 what about activestate
04:33 itcharlie DWIM Padre already installs Perl for you.
04:33 user_8446 it's saying "no execution mode was defined for this document".
04:34 itcharlie ah
04:35 itcharlie go to "Tools -> Preference "
04:35 itcharlie on the sidebar you will see "Language - Perl 5"
04:36 user_8446 then
04:36 itcharlie Click on "Language - Perl 5" then check the checkbox for "use external window for execution"
04:36 itcharlie Then Click Save
04:37 itcharlie now try running your script again
04:37 itcharlie It should open  in a new window now.
04:37 user_8446 it's alreay ticked
04:37 itcharlie hmm
04:38 itcharlie do you have print statements in your code?
04:38 user_8446 yes
04:38 itcharlie try adding  this:
04:38 itcharlie print "Test\n";
04:38 itcharlie sleep(10);
04:38 itcharlie then run your script again
04:39 user_8446 still same problem
04:40 itcharlie hmm you may not be running the latest version of Padre
04:41 itcharlie you might want to update
04:41 itcharlie open cmd
04:41 itcharlie then run : cpan Padre
04:41 user_8446 ver 6.03
04:42 itcharlie Yes I think older version of Padre had this problem of not executing code in a new window
04:42 itcharlie try updating to latest version of Padre
04:42 itcharlie 1.00
04:43 itcharlie cpan Padre
04:43 itcharlie ^ this command can update your padre to latest version .
04:43 user_8446 ok tell me how to run perl scrpits if  I don't have padre
04:43 itcharlie you could open a Command Prompt
04:44 itcharlie and run the script
04:44 itcharlie by invoking :   perl script_name.pl
04:44 itcharlie ofcourse this assume the command prompt is in the working directory where the script is located.
04:45 user_8446 but from where can I open perl command prompt
04:45 itcharlie so really is should be :  perl C:\FULLPATH\Script_name.pl
04:45 itcharlie go to WIndows button on the bottom of screen
04:46 itcharlie click it
04:46 itcharlie where is says run
04:46 itcharlie or search
04:46 itcharlie type :  cmd
04:46 itcharlie then hit enter
04:46 itcharlie This will display a command prompt in your screen
04:47 user_8446 oh directly we can open , unlike Python which has separate shell
04:47 itcharlie I think if you install Strawberry perl but itself it would come with a shell
04:47 itcharlie err
04:47 itcharlie I think if you install Strawberry perl by  itself it would come with a shell
04:48 user_8446 and where is that shell
04:48 itcharlie I don't think you get it from DWIM installation
04:49 itcharlie you would have to download strawberry perl by itself and then it would load a folder under your Programs
04:49 itcharlie with a few shortcuts
04:50 itcharlie one of them being a Shell
04:50 itcharlie which is really a command prompt I believe
04:50 user_8446 ok thanks, :)
04:51 itcharlie Coolio :)
04:51 itcharlie so you have 2 options
04:51 itcharlie update to latest version of Padre
04:51 itcharlie -or
04:51 itcharlie run the scripts manually for now.
04:52 user_8446 thanks sir, bye :)
04:52 itcharlie one more satisfied customer :)
04:54 itcharlie Really wish there is  a DWIM build with latest version of Padre and Perl
05:11 itcharlie Gabor did provide steps on how to do this :  I think if you install Strawberry perl but itself it would come with a shell
05:11 itcharlie https://github.com/dwimperl/tools/blob/master/README_5.14.2.1-32bit-windows.txt *
05:49 itcharlie left #padre
06:03 dod joined #padre
06:36 dod joined #padre
08:04 sewi joined #padre
08:41 dod joined #padre
09:17 kaare joined #padre
10:05 dod joined #padre
10:29 sewi joined #padre
11:05 dod joined #padre
12:44 spikkie joined #padre
12:47 spikkie Hi Padre team , is someone available to support?
13:57 El_Che bowtie: botbot is on holiday?
14:09 Di-ima joined #padre
14:46 user_4969 joined #padre
15:37 dod joined #padre
16:13 Kirkegaard joined #padre
16:38 kaare joined #padre
18:25 dod joined #padre
20:32 bowtie joined #padre
20:58 bowtie joined #padre
22:06 bowtie joined #padre
22:34 bowtie joined #padre
23:40 bowtie joined #padre

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary