Re: [Alien-SDL2] Don't use $ENV{"HOME"} (#6)
[email protected] (Tobias Leich) Sat, 02 Aug 2014 17:32:21 +0200
| Newsgroups | perl.sdl.devel |
|---|---|
| Message-ID | <[email protected]> |
--------------070302010305000909050001 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HOME is gone since Win7+, one should really use: File::HomeDir->my_home Cheers Am 02.08.2014 17:25, schrieb Kartik Thakore: > Hi! > Hmm weird. Can you set your %home% variable? > > > On Sat, Aug 2, 2014 at 7:53 AM, Alex <[email protected] > <mailto:[email protected]>> wrote: > > Hi! > > I just installed Alien::SDL2 on my computer and I got the > following output: > > Set up gcc environment - 3.4.5 (mingw-vista special r3) > Build option used: > Binaries Win/32bit SDL2 (20130305) RECOMMENDED > (gfx, image, mixer, net, smpeg, ttf) > Building Alien-SDL2 > Use of uninitialized value $ENV{"HOME"} in concatenation (.) or > string at C:/Per > l/lib/CPAN/Config.pm line 6. > Fetching > 'http://strawberryperl.com/package/kmx/sdl/32bit_SDL2_20130305.zip'... > > There is $ENV{"HOME"}. Is it something that has to do with > Alien::SDL2 or is it not related to this module? If it is related, > then could we switch to File::HomeDir? > > — > Reply to this email directly or view it on GitHub > <https://github.com/PerlGameDev/Alien-SDL2/issues/6>. > > --------------070302010305000909050001 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> HOME is gone since Win7+, one should really use: <span class="nn">File::</span><span class="n">HomeDir</span><span class="o">-></span><span class="n">my_home<br> <br> Cheers<br> <br> </span> <div class="moz-cite-prefix">Am 02.08.2014 17:25, schrieb Kartik Thakore:<br> </div> <blockquote cite="mid:1406993149726.e05f036f@Nodemailer" type="cite"><span id="mailbox-conversation">Hi! <div>Hmm weird. Can you set your %home% variable?</div> </span><br> <br> <div class="gmail_quote"> <p>On Sat, Aug 2, 2014 at 7:53 AM, Alex <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br> </p> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <p>Hi!</p> <p>I just installed Alien::SDL2 on my computer and I got the following output:</p> <p>Set up gcc environment - 3.4.5 (mingw-vista special r3)<br> Build option used:<br> Binaries Win/32bit SDL2 (20130305) RECOMMENDED<br> (gfx, image, mixer, net, smpeg, ttf)<br> Building Alien-SDL2<br> Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at C:/Per<br> l/lib/CPAN/Config.pm line 6.<br> Fetching '<a moz-do-not-send="true" href="http://strawberryperl.com/package/kmx/sdl/32bit_SDL2_20130305.zip">http://strawberryperl.com/package/kmx/sdl/32bit_SDL2_20130305.zip</a>'...</p> <p>There is $ENV{"HOME"}. Is it something that has to do with Alien::SDL2 or is it not related to this module? If it is related, then could we switch to File::HomeDir?</p> <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br> Reply to this email directly or <a moz-do-not-send="true" href="https://github.com/PerlGameDev/Alien-SDL2/issues/6">view it on GitHub</a>.<img moz-do-not-send="true" alt="" src="https://github.com/notifications/beacon/21407__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMjU5OTU5NSwiZGF0YSI6eyJpZCI6Mzg2NTg1NjR9fQ==--ed3ac9788493513fa4ce5abce82bbd9c85ed8f1e.gif" height="1" width="1"></p> </blockquote> </div> <br> </blockquote> <br> </body> </html> --------------070302010305000909050001--