Jak rozlisit skalar a pole v hodonte hashe

Honza Pazdziora adelton na fi.muni.cz
Pondělí Květen 10 11:51:50 MEST 1999


On Mon, 10 May 1999 09:31:35 GMT, Roztocil Bohuslav <Bohuslav.Roztocil na tconsult.cz> wrote:
> Nemelo by tam byt ref()? Asi takto:
> 
> 
>   $hash{'KEY'}=[1,2,3,4];
>   #$hash{'KEY'}=3;
> 
>   if (ref($hash{'KEY'}) =~ /^ARRAY/) {

Melo, nehlede na to, ze eq je pravdepodobne jeste lepsi.

-- 
------------------------------------------------------------------------
 Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
 make vmlinux.exe			-- SGI Visual Workstation Howto
Any spam sent to my email will be rewarded by complaint to your ISP abuse
  team and abuse teams of servers that relayed that message. It works.


Další informace o konferenci Perl