![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Read csv into Hash array? | kinmak | Shell Programming and Scripting | 1 | 05-07-2008 11:35 AM |
| perl array question from going through hash | hankooknara | Shell Programming and Scripting | 2 | 07-29-2007 10:53 PM |
| md5 hash a string or char array in SCO | jcarter2333 | High Level Programming | 5 | 02-08-2007 04:09 PM |
| Hash within array, within hash, within array... | jsmoriss | Shell Programming and Scripting | 1 | 07-10-2006 10:26 PM |
| getting data list into a hash array | topcat8 | Shell Programming and Scripting | 5 | 03-09-2004 12:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hash,array and perl
Hi,i have a code fragment below. Code:
%tag = (); #line 1
$tag{'info'} = $datastring; #line 2
$resp = $ua->request( #$ua is a user agent
POST 'http://10.2.3.0' ,
Content_Type => application/x-www-form-urlencoded
Content => [ %tag ] #line 3
I am not sure of what the code does. would appreciate if anyone can correct me. line 1 is to declare an empty hash line 2 is to assign the value $datastring to the key 'info' line 3 is to assign the hash to Content. will this just assign the values or it will also assign the keys and values to Content? |
|
||||
|
Quote:
|
|
||||
|
Quote:
So are you working on a program using HTTP::Request? If so, please take a look at the POD for the module. It will tell you what methods are provided, and the arguments you need to use. Then, you simply provide the arguments as needed. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|