in reply to Re: Argument isn't numeric in numeric ge
in thread Argument isn't numeric in numeric ge

I understand your point, but when I print it with [] around the variables, it prints without the leading ^G:
print "[$version_on_disk]\t version on disk\n"; print "[$version_dns]\t version dns\n";
gives me:
[1195874] version on disk [1195874] version dns
So how does that ^G get in front of my variable :?

Replies are listed 'Best First'.
Re^3: Argument isn't numeric in numeric ge
by AnomalousMonk (Archbishop) on Dec 09, 2011 at 16:40 UTC

    The other thing to realize is that a control-G is probably not a printable character. After all, it's supposed to ring a bell (on a teletype) or make some kind of beep noise (on a terminal).

Re^3: Argument isn't numeric in numeric ge
by JavaFan (Canon) on Dec 09, 2011 at 21:52 UTC
    Try piping your output through od.