Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: system function not handling string properly

by McA (Priest)
on Sep 06, 2013 at 21:36 UTC ( #1052776=note: print w/replies, xml ) Need Help??

in reply to Re^2: system function not handling string properly
in thread system function not handling string properly

Excuse me, I've overlooked that line.

What is your OS? What shows 'which echo' on your system?

This code works pretty well on my system:

#!/usr/bin/env perl use strict; use warnings; use 5.010; my $url = '""'; system('echo', $url); $url = ""; system('echo', $url);


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052776]
[Corion]: 1nickt: In a sense the meta-bullshit might even be beneficial to you as you get to hear the cow-orkers talk (or not talk) about the issues you perceive. I think Agile is mostly about the meta ;)
[Corion]: 1nickt: On Sunday maybe 10cm of snow fell, and the airport closed, and the trains stopped running etc :) It always comes as a surprise that snow falls here during the winter...
[marto]: 1nickt, no snow, just some ice on the roads and the usual idiocy associated with humans and driving in less than ideal conditions
[1nickt]: Corion I am trying to keep an open mind :-) Or at least, go with the flow. marto yes I saw som photos of lorries overturned on country roads, and wondered why they would have been driving fast enough to have that happen!

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-12-11 11:52 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (289 votes). Check out past polls.