Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: double quotes and single qoutes

by soonix (Prior)
on Mar 14, 2013 at 08:16 UTC ( #1023417=note: print w/replies, xml ) Need Help??

in reply to double quotes and single qoutes

Although the others already pointed you to the right direction, here a tip:

You could prepend echo to your command, thus:
echo perl -e "($hi)=glob(\"nosum*\"); print \"$hi\"";
to see what's going on before perl even get a chance to do anything. Most probably perl will see something like
perl -e ()=glob("nosum*"); print "";

Replies are listed 'Best First'.
Re^2: double quotes and single qoutes
by McA (Priest) on Mar 14, 2013 at 09:42 UTC

    My tip in this tips section: As soon as you have to fiddle with quotes more than 30 seconds, it's better to write a little perl script into a file even when this is not so qwel like a perl one liner. ;-)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023417]
[Corion]: A good morning to everybody!
[Lady_Aleena]: Morning Corion.
[Corion]: I spent yesterday evening (and early night) in VR in Vanishing Realms, and can really recommend it
Discipulus is a very sad mornig anyway..
[Corion]: The title/"cover" image doesn't convey the comic/painted style, and the gameplay is really diverse, especially for a VR game

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-05-23 07:39 GMT
Find Nodes?
    Voting Booth?