Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Question on Strawberry's Portable .bat file

by Anonymous Monk
on Aug 04, 2012 at 07:46 UTC ( #985392=note: print w/replies, xml ) Need Help??

in reply to Re^2: Question on Strawberry's Portable .bat file
in thread Question on Strawberry's Portable .bat file

The OP is trying to get a better understanding of the batch file that you have to run in order to use portable Strawberry Perl.

Yes, the OP is essentially trying to learn batch programming, not trying to solve some strawberryperl problem he's encountered, and AFAIK, that is off topic

From my perspective ... That's just ridiculous IMHO.

Yes, I agree, because that is not the same perspective at all -- compiling perl, compiling modules, writing XS, is all clearly on topic -- having perlmonks teach you batch file programming is off topic

I apologize if the tone of this post sounds harsh. Just tired of seeing folks trying to impose unwritten "policies" by criticizing the person for daring to violate one of those "policies" rather than offering at least a little assistance to the OP. Decided to speak up for once about it.

Well, that is quote from the official policy, the "written" one that I linked, check your facts. If you have a problem with the policy, complain to the management.

And FWIW, I'm not sure how quoting the official policy is criticism.

And FWIW, I did offer both assistance ( Although, you can employ Basic debugging checklist even in batch file programming ( ECHO ) ) and the literal answer

So yeah, I too am tired of , well, of whatever your posting qualifies as -- inaccurately (libelously?) defending lazy off topic posters?

How hard is to copy/paste that line and put ECHO in front of it?


echo DRIVE %drive% echo DRIVEP %drivep% echo ONLY %drive:~-1% echo EQUALS $#\#$==$#%drive:~-1%#$ echo NEW SET drivep=%drive:~0,-1%


DRIVE C:\ro\sham\bo\ DRIVEP C:\ro\sham\bo\ ONLY \ EQUALS $#\#$==$#\#$ NEW SET drivep=C:\ro\sham\bo

Instead of speaking up next time, consider saving it for a better fit.

Replies are listed 'Best First'.
Re^4: Question on Strawberry's Portable .bat file
by bulk88 (Priest) on Aug 04, 2012 at 17:25 UTC
    So in your (AM's) world, if someone asks a question on XML::LibXML obviously that is offtopic since it discuses the XML language and not the Perl language, and if someone asks how read works you tell them to refer to their system's LibC manpage since that isn't Perl either, that is LibC's API.

      So in your (AM's) world ...

      That is even more ridiculous than dasgar's statement.

      And BTW, why didn't you suggest a batch file debugger the OP can use ?


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985392]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2018-05-27 10:18 GMT
Find Nodes?
    Voting Booth?