in reply to Grave accent/Backtick/`` caveats
They are equal for me. Maybe you're picking up a different echo (one that ignores the -n arg)? What's the following give you?
Are you seeing the newline in the dumper? What has the hash given by both?#!/usr/bin/perl use Data::Dumper; $text = "deepak.gulati"; $hash1 = `echo -n $text` print Dumper( $hash1 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grave accent caveats
by massa (Hermit) on Jan 19, 2009 at 17:23 UTC | |
by jethro (Monsignor) on Jan 19, 2009 at 18:05 UTC | |
|
Re^2: Grave accent caveats
by deepakg (Novice) on Jan 19, 2009 at 17:30 UTC |