Can someone explain references?

2011-11-24 Thread Mike D
Hi all, just started using Perl today, coming over from a background in C#/Java and Python. I seem to be grasping Perl rather nicely (I think) until I got up to references in Beginning Perl. Considering the following code, are all my comments correct? # this function expects an array to be passe

Re: Which perl for Windows?

2014-08-05 Thread Mike D
Strawberry On Aug 5, 2014 4:20 PM, "ESChamp" wrote: > Which perl should I (an occaisonal perl user, a rare perl programmer) > use? I see > > cygwin > strawberry perl > activestate perl > dwim perl > > ??? > > Thanks. > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional

Re: Need more helpful error messages from Perl

2014-11-19 Thread Mike D
use diagnostics; On Nov 19, 2014 8:23 AM, "Kevin Walzer" wrote: > Running this code in Perl: > > use LWP::Simple; > my $url= "http://mywebsite.com/foo.ini";; > my $page = get($url); > > produced this error: > > sh: -c: line 0: unexpected EOF while looking for matching `'' > sh: -c: line 1: sy

Re: Is perl user specific

2016-01-06 Thread Mike D
In the future, please use the Reply All feature. So, run `echo $PATH` on both users. If the path for the Perl executable is different for the user in which the script works, try editing the path variable for the user in which it doesn't to use the path to the working Perl executable: http://supe

Re: Is perl user specific

2016-01-06 Thread Mike D
Please use the Reply All feature so that your replies get sent to the mailing list. On Wed, Jan 6, 2016 at 11:21 AM, Ankita Rath wrote: > Okay I will try it.. Thank u > > Ankita > On 6 Jan 2016 22:44, "Mike D" wrote: > >> In the future, please use the Reply A