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

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:
   
  Platform:
    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 '


Comment on Re^2: Data managing problem
Select or Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-05 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls