Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Storing output of a subroutine into an hash and then printing hash

by toolic (Bishop)
on Oct 18, 2017 at 14:17 UTC ( #1201596=note: print w/replies, xml ) Need Help??


in reply to Storing output of a subroutine into an hash and then printing hash

You need to add a semicolon after the right paren:
# v %mycorpus = getCorpus("C:\Users\li\test"); #line 1
  • Comment on Re: Storing output of a subroutine into an hash and then printing hash
  • Download Code

Replies are listed 'Best First'.
Re^2: Storing output of a subroutine into an hash and then printing hash
by Anonymous Monk on Oct 19, 2017 at 08:56 UTC
    Semi-colons catch me out every time, thanks for that!
Re^2: Storing output of a subroutine into an hash and then printing hash
by Maire (Scribe) on Oct 21, 2017 at 07:09 UTC
    Thank you!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2022-01-24 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (65 votes). Check out past polls.

    Notices?