Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How do I keep the command line from eating the backslashes?

by revdiablo (Prior)
on Feb 11, 2005 at 22:15 UTC ( #430320=note: print w/replies, xml ) Need Help??


in reply to How do I keep the command line from eating the backslashes?

This feels like an XY problem. You're trying to do X, and you thought of solution Y. So you're asking about solution Y, without even mentioning X [your later posts hint at X, but never really describe it]. The problem is, there might be a better solution, but we can't know that unless you describe what X is.

In other words, I would be surprised if you really need the literal '\"' to remain intact. What is the actual problem you're trying to solve?

  • Comment on Re: How do I keep the command line from eating the backslashes?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://430320]
help
Chatterbox?
[Lady_Aleena]: push @line, ref($list_addition ) eq 'ARRAY' ? @$list_addition : $list_addition if $list_addition; #trying again
[shmem]: Discipulus: yummy. I like those. Didn't have them for some time now, forgot the name. Should go get some...
[shmem]: Lasy_Aleena: correct, although for clarity I'd use an if() block, not a statement modifier
[shmem]: this allows you to add an else if maintainance makes it neccesary
[Lady_Aleena]: shmem, okeydokey.
[shmem]: ...or logging or debugging or such
[Lady_Aleena]: I'm glad I've sort of learned command line grep so I can find where and how I've used this sub.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-04-27 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (504 votes). Check out past polls.