Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Data managing problem

by tmharish (Friar)
on Feb 22, 2013 at 12:47 UTC ( [id://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 (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1020152]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-13 00:31 GMT
Find Nodes?
    Voting Booth?

    No recent polls found