Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Data managing problem

by tmharish (Friar)
on Feb 22, 2013 at 12:47 UTC ( #1020152=note: print w/replies, xml ) Need Help??

in reply to Re: Data managing problem
in thread Data managing problem

perl -anle"$h{ $F[1] } = $_; }{ print for values %h"

Dosnt work for me!

~$ perl -anle"$h{ $F[1] } = $_; }{ print for values %h" syntax error at -e line 1, near "} =" Execution of -e aborted due to compilation errors.
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
    osname=linux, osvers=3.2.0-23-generic, archname=x86_64-linux-gnu-thread-multi
    uname='linux komainu 3.2.0-23-generic #36-ubuntu smp tue apr 10 20:39:51 utc 2012 x86_64 x86_64 x86_64 gnulinux '

Replies are listed 'Best First'.
Re^3: Data managing problem
by BrowserUk (Pope) on Feb 22, 2013 at 13:24 UTC
    Dosnt work for me! perl -anle"..." Platform: osname=linux,

    You need to use single quotes 's not double quotes "s on *nix command lines.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Works with single quotes - Thank you.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020152]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-10-26 00:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.